{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":635974055,"defaultBranch":"main","name":"generative-ai-python","ownerLogin":"google-gemini","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-05-03T21:27:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/161781182?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1720723066.0","currentOid":""},"activityList":{"items":[{"before":"b5b20ed2e3fb0e41d3b573756920562592095243","after":"42d952a2429fa72c0f2617d71eb9aa3f708b6867","ref":"refs/heads/main","pushedAt":"2024-08-02T02:55:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Ce rest (#495)\n\n* Code execution for shell\r\n\r\n* Update code_execution.sh\r\n\r\n* Add code execution chat\r\n\r\n* Tested code execution examples\r\n\r\n* Use multi-round chat\r\n\r\nChange-Id: Ib11b69899c136550871c670b947f9cff0f480d6d\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Ce rest (#495)"}},{"before":"a79d2aa02702f4c4e6fc923cdd9cc9832afc2876","after":"b5b20ed2e3fb0e41d3b573756920562592095243","ref":"refs/heads/main","pushedAt":"2024-07-31T22:57:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"make cachig visible, and make imports alphabetical (#493)\n\nChange-Id: I1a1d2f5f103927e5f50f0f726911599eaeea1a58","shortMessageHtmlLink":"make cachig visible, and make imports alphabetical (#493)"}},{"before":"74d67ac153e86cc42ca56f63d3053c6854d2b4f9","after":"a79d2aa02702f4c4e6fc923cdd9cc9832afc2876","ref":"refs/heads/main","pushedAt":"2024-07-31T22:57:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Fix example (#494)\n\nChange-Id: I89d38b2fb38be407583ad1522b8b00a19efed03d","shortMessageHtmlLink":"Fix example (#494)"}},{"before":"d0f3359a93a5192238bbf655ed57b6235913aef2","after":"74d67ac153e86cc42ca56f63d3053c6854d2b4f9","ref":"refs/heads/main","pushedAt":"2024-07-31T22:43:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Code execution for shell (#491)\n\n* Code execution for shell\r\n\r\n* Update code_execution.sh\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Code execution for shell (#491)"}},{"before":"87c9b0638220b7c2870676cd1cb38f1f73b0e845","after":"d0f3359a93a5192238bbf655ed57b6235913aef2","ref":"refs/heads/main","pushedAt":"2024-07-24T17:41:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"M\n\nChange-Id: Ibb18fd6c398f781a58782b7f04ceef5d19553cbc","shortMessageHtmlLink":"M"}},{"before":"84db0618929158e8ce6d16a9e09f6f319be5292a","after":"87c9b0638220b7c2870676cd1cb38f1f73b0e845","ref":"refs/heads/main","pushedAt":"2024-07-24T17:31:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"rename embeddings -> embed (#487)\n\nChange-Id: Ib78ca1d9803759664d652455624e35d8076235b6","shortMessageHtmlLink":"rename embeddings -> embed (#487)"}},{"before":"032f78f5d10aed5bc7173d92c2873e8a1a016488","after":"84db0618929158e8ce6d16a9e09f6f319be5292a","ref":"refs/heads/main","pushedAt":"2024-07-24T15:27:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Caching cURL sample (#455)\n\n* Create, list, get, update, and delete caches\r\n\r\n* Use cached content\r\n\r\n* Formatting\r\n\r\n* Updating region tags\r\n\r\n* cache_generate_content region tag\r\n\r\n* Moving the generation in cache_create\r\n\r\n* Fix\r\n\r\nChange-Id: If09a99b8f4637bae509b32469b0cd9fd9ec60024\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Caching cURL sample (#455)"}},{"before":"b19fc8c0793b1ec1131f21fdb004492f40034be1","after":"032f78f5d10aed5bc7173d92c2873e8a1a016488","ref":"refs/heads/main","pushedAt":"2024-07-23T22:39:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Adding JSON schema curl samples (#434)\n\n* Adding JSON schema curl samples\r\n\r\njson_no_schema working\r\n\r\nFix quoting.\r\n\r\n* Update samples/rest/controlled_generation.sh\r\n\r\n* Fix quoting again.\r\n\r\n* use response_mime_type\r\n\r\nChange-Id: I29f337ddf8ee9ceff628111a9124cb4e5141706b\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Adding JSON schema curl samples (#434)"}},{"before":"695ee95ee4bc0ff9747164b41b765e6f144b26c5","after":"b19fc8c0793b1ec1131f21fdb004492f40034be1","ref":"refs/heads/main","pushedAt":"2024-07-23T22:01:49.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Add function calling REST example (#443)\n\n* Add function calling REST example\r\n\r\n* Update function calling sample to have file content in bash script\r\n\r\n* Delete tools.json\r\n\r\n* Move tools definition into the region tag.\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Add function calling REST example (#443)"}},{"before":"f8b049f813ac0a926aa480a2282371ee67192739","after":"695ee95ee4bc0ff9747164b41b765e6f144b26c5","ref":"refs/heads/main","pushedAt":"2024-07-23T21:38:20.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"add audio streaming & pdf examples (#483)\n\n* add audio streaming\r\n\r\n* Add pdf examples\r\n\r\n* Update samples/rest/text_generation.sh\r\n\r\n* remove test.pdf\r\n\r\nChange-Id: Icadde0849a0d358b605e7cfe6ff208d49d639dfb\r\n\r\n* use alt=sse for all streaming examples\r\n\r\nChange-Id: I6ee214edcc06827d1e73f7c1fdd3e380e7988896\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"add audio streaming & pdf examples (#483)"}},{"before":"353dc4fe860ec5a2f401c290e4fb5c580bcb4ed2","after":"f8b049f813ac0a926aa480a2282371ee67192739","ref":"refs/heads/main","pushedAt":"2024-07-23T20:42:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Add pdf samples (#484)\n\n* Add pdf samples\r\n\r\nChange-Id: I835c4805081af3aa6ce26a8871a62b5c435f18bf\r\n\r\n* Fix streaming video\r\n\r\nChange-Id: Iec0000da192231a7a5f97faabaeae9d3ebe64475\r\n\r\n* format\r\n\r\nChange-Id: I51705e0f3b96d825952a3183bc55cbed5cb158c0","shortMessageHtmlLink":"Add pdf samples (#484)"}},{"before":"99e5a11b552d0bc7810ceec345e609f493e1ab51","after":"353dc4fe860ec5a2f401c290e4fb5c580bcb4ed2","ref":"refs/heads/main","pushedAt":"2024-07-23T17:58:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Add other functions to count_tokens (#482)\n\n* Add other functions to count_tokens\r\n\r\n* Tested count_tokens","shortMessageHtmlLink":"Add other functions to count_tokens (#482)"}},{"before":"d3ca154c589b0f8ac547863dce61bded2f4cfc71","after":"99e5a11b552d0bc7810ceec345e609f493e1ab51","ref":"refs/heads/main","pushedAt":"2024-07-23T17:58:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Added curl examples for files (#480)\n\n* Added curl examples for files\r\n\r\n* Update files.sh\r\n\r\n* update files.sh","shortMessageHtmlLink":"Added curl examples for files (#480)"}},{"before":"5b31be7ff74aa0e6eb41a13d619ad8f116a4e1fd","after":"d3ca154c589b0f8ac547863dce61bded2f4cfc71","ref":"refs/heads/main","pushedAt":"2024-07-23T00:18:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"`text_generation` samples for shell (#430)\n\n* Start on text_generation samples for shell\r\n\r\n* Add example for one image in text gen\r\n\r\n* Add streaming example for one image\r\n\r\n* Adding rest of text generation examples\r\n\r\n* change to gemini-1.5-flash\r\n\r\n* Add updates to text generation scripts\r\n\r\n* Using file api to upload audio and video\r\n\r\n* Delete audio_output.txt\r\n\r\n* Debugged audio example\r\n\r\n* Uploading videos now working for text generation\r\n\r\n* Delete file_info.json\r\n\r\n* Remove stray tag.\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"text_generation samples for shell (#430)"}},{"before":"0f8f139e6a77b95aad58f001202cf82cdc230bf5","after":"5b31be7ff74aa0e6eb41a13d619ad8f116a4e1fd","ref":"refs/heads/main","pushedAt":"2024-07-23T00:18:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Add REST embeddings & system_instruction sample (#429)\n\n* Add REST embeddings sample\r\n\r\n* Add system_instruction shell script as well\r\n\r\n* Update region tags","shortMessageHtmlLink":"Add REST embeddings & system_instruction sample (#429)"}},{"before":"c5ef6c046dece66e723379c4ada41c04622ce374","after":"0f8f139e6a77b95aad58f001202cf82cdc230bf5","ref":"refs/heads/main","pushedAt":"2024-07-22T18:26:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Using the `GEMINI_API_KEY` by default instead of the `GOOGLE_API_KEY` one (#418)\n\n* Using the GEMINI_API_KEY by default instead of the GOOGLE_API_KEY one\r\nThe Google API key can be misleading since it's not really an overall key for all of Google API and only for the Gemini ones.\r\n\r\n* Formatting\r\n\r\n* Update google/generativeai/client.py\r\n\r\n* revert elif\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Using the GEMINI_API_KEY by default instead of the GOOGLE_API_KEY…"}},{"before":"e8ad6533b8d3e2cf2308fd092114a91951708240","after":"c5ef6c046dece66e723379c4ada41c04622ce374","ref":"refs/heads/main","pushedAt":"2024-07-17T23:35:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Add markdown docs (#462)\n\nChange-Id: I63ffaa1c0d4af92f4a630ea21c99f927095c1d34","shortMessageHtmlLink":"Add markdown docs (#462)"}},{"before":"3491bfc3b91f1b374193aa3748cb31d5c78db554","after":"e8ad6533b8d3e2cf2308fd092114a91951708240","ref":"refs/heads/main","pushedAt":"2024-07-17T16:42:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"add safety settings examples for curl (#433)\n\n* add safety settings examples for curl\r\n\r\n* replace integers with category name","shortMessageHtmlLink":"add safety settings examples for curl (#433)"}},{"before":"8494231be1d9220e0ce8cda82d4f9a3209afb375","after":"3491bfc3b91f1b374193aa3748cb31d5c78db554","ref":"refs/heads/main","pushedAt":"2024-07-17T16:35:15.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Adding count_tokens for rest (#444)\n\n* Adding count_tokens for rest\r\n\r\n* Update to have same prompt as python example\r\n\r\n* tests now working","shortMessageHtmlLink":"Adding count_tokens for rest (#444)"}},{"before":"4e1dcd6f45f90937ef921be1e2cf1b316f4f0bf7","after":"8494231be1d9220e0ce8cda82d4f9a3209afb375","ref":"refs/heads/main","pushedAt":"2024-07-17T16:24:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Formatting (using black) (#460)","shortMessageHtmlLink":"Formatting (using black) (#460)"}},{"before":"754d038d14cd1587c8143e41dfdde9741f0e7eba","after":"4e1dcd6f45f90937ef921be1e2cf1b316f4f0bf7","ref":"refs/heads/main","pushedAt":"2024-07-12T14:44:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"logankilpatrick","name":"Logan Kilpatrick ","path":"/logankilpatrick","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/35577566?s=80&v=4"},"commit":{"message":"Update count_tokens.py (#459)\n\n- integrated returns into main snippet\r\n- updated code comments\r\n- pulled text of prompts out of the requests to generate_content","shortMessageHtmlLink":"Update count_tokens.py (#459)"}},{"before":"950a666abd4f19c53b9a71a06a16b3af026fdc75","after":"754d038d14cd1587c8143e41dfdde9741f0e7eba","ref":"refs/heads/main","pushedAt":"2024-07-11T18:38:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Update tuned_models.py (#458)","shortMessageHtmlLink":"Update tuned_models.py (#458)"}},{"before":null,"after":"92280a778fd6b3791aae095e0d0ca713093fc02e","ref":"refs/heads/MarkDaoust-patch-32","pushedAt":"2024-07-11T18:37:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Update tuned_models.py","shortMessageHtmlLink":"Update tuned_models.py"}},{"before":"7c2148642e3c50f642b2041073172f11b221f532","after":"950a666abd4f19c53b9a71a06a16b3af026fdc75","ref":"refs/heads/main","pushedAt":"2024-07-11T18:20:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Chat REST samples (#449)\n\n* Add first chat samples for rest\r\n\r\n* Add Chat rest examples\r\n\r\n* last message should be 'role:user'\r\n\r\nChange-Id: I3e06e9e0ffb553cfc70add5ed0365cb56e9fddff\r\n\r\n---------\r\n\r\nCo-authored-by: Mark Daoust ","shortMessageHtmlLink":"Chat REST samples (#449)"}},{"before":"8642c8c31009e80543803ff2142fb31c9f1ed838","after":"7c2148642e3c50f642b2041073172f11b221f532","ref":"refs/heads/main","pushedAt":"2024-07-11T18:08:28.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"shilpakancharla","name":"Shilpa Kancharla","path":"/shilpakancharla","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31664851?s=80&v=4"},"commit":{"message":"Format code execution (#457)","shortMessageHtmlLink":"Format code execution (#457)"}},{"before":"d74189f4ce04757662586895dedca775e7aefecb","after":"8642c8c31009e80543803ff2142fb31c9f1ed838","ref":"refs/heads/main","pushedAt":"2024-07-11T17:03:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"move model_configuration samples (#456)\n\nChange-Id: Ic60ecebc3cc9a2f4455054dcdb769e338331e8e1","shortMessageHtmlLink":"move model_configuration samples (#456)"}},{"before":"351daadb83455eef375e86a4ec742c948a194dae","after":"d74189f4ce04757662586895dedca775e7aefecb","ref":"refs/heads/main","pushedAt":"2024-07-11T16:36:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Update configure_model_parameters.py","shortMessageHtmlLink":"Update configure_model_parameters.py"}},{"before":"712e0e4b167fe94c5fa6dc1cad2bb4975ce766d4","after":"351daadb83455eef375e86a4ec742c948a194dae","ref":"refs/heads/main","pushedAt":"2024-07-11T16:27:48.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"move model_configuration samples (#454)\n\nChange-Id: I4c0f02a52e9c63d5ee72874f24904c1c931cb4cb","shortMessageHtmlLink":"move model_configuration samples (#454)"}},{"before":"0d51b2619889cfb2dad08b90d57c89c3f0a8244f","after":"712e0e4b167fe94c5fa6dc1cad2bb4975ce766d4","ref":"refs/heads/main","pushedAt":"2024-07-10T21:48:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Update example to show part types. (#452)","shortMessageHtmlLink":"Update example to show part types. (#452)"}},{"before":null,"after":"dee050cbf249c96f0e0ca607fc7e9ff466e7fd9d","ref":"refs/heads/MarkDaoust-patch-31","pushedAt":"2024-07-10T21:46:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"MarkDaoust","name":"Mark Daoust","path":"/MarkDaoust","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1414837?s=80&v=4"},"commit":{"message":"Update example to show part types.","shortMessageHtmlLink":"Update example to show part types."}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEj78CdAA","startCursor":null,"endCursor":null}},"title":"Activity · google-gemini/generative-ai-python"}