Package: rgemini 0.1.0
rgemini: R interface to Google Gemini API
In development
Authors:
rgemini_0.1.0.tar.gz
rgemini_0.1.0.zip(r-4.7)rgemini_0.1.0.zip(r-4.6)rgemini_0.1.0.zip(r-4.5)
rgemini_0.1.0.tgz(r-4.6-any)rgemini_0.1.0.tgz(r-4.5-any)
rgemini_0.1.0.tar.gz(r-4.7-any)rgemini_0.1.0.tar.gz(r-4.6-any)
rgemini_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
rgemini/json (API)
| # Install 'rgemini' in R: |
| install.packages('rgemini', repos = c('https://skranz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/skranz/rgemini/issues
Last updated from:26d3006eba (on main). Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | WARNING | 131 | ||
| source / vignettes | OK | 202 | ||
| linux-release-x86_64 | WARNING | 139 | ||
| macos-release-arm64 | WARNING | 92 | ||
| macos-oldrel-arm64 | WARNING | 78 | ||
| windows-devel | WARNING | 73 | ||
| windows-release | WARNING | 88 | ||
| windows-oldrel | WARNING | 67 | ||
| wasm-release | OK | 92 |
Exports:arr_respescape_quotesexamplefirst.non.nullgemini_cache_contextgemini_contentgemini_contextgemini_context_cache_expire_secgemini_curl_make_contentsgemini_delete_all_context_cachesgemini_delete_context_cachegemini_list_context_cachesgemini_list_modelsgemini_media_uploadgemini_resp_to_dfgemini_update_context_cacheguess_mime_typeinfer_response_typeinternal_gemini_parse_httr_respna.valobj_respresponse_schemarun_geminiset_gemini_api_key
Dependencies:askpassclicurldplyrgenericsgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigR6restorepointrlangsystibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Create an Array Response Template | arr_resp |
| Cache a Gemini context | gemini_cache_context |
| Extract content from a more detailed run_gemini response | gemini_content |
| Create a Gemini context | gemini_context |
| Get remaining context cache expiration time | gemini_context_cache_expire_sec |
| Delete all cached contexts | gemini_delete_all_context_caches |
| Delete a cached context | gemini_delete_context_cache |
| List all cached contexts | gemini_list_context_caches |
| Upload a document or image to Gemini API. | gemini_media_upload |
| Update cached context expiration | gemini_update_context_cache |
| Infer the JSON Response Type | infer_response_type |
| Create an Object Response Template | obj_resp |
| Generate a JSON Schema from a Response Template | response_schema |
| Generate Content with Gemini API | run_gemini |
| Set your Gemini API | set_gemini_api_key |
