Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Mar 11, 2024
2 parents 07a39ff + fdd4bb6 commit fdf064c
Showing 1 changed file with 15 additions and 38 deletions.
53 changes: 15 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A *unofficial* Python wrapper, [python-gemini-api](https://pypi.org/project/pyth

Collaborated competently with [Antonio Cheong](https://github.com/acheong08).

Please, check <img src="https://www.gstatic.com/lamda/images/favicon_v1_150160cddff7f294ce30.svg" width="15px" alt="Gemini Icon" />[HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) first.
Please, first review [HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) and the [Official Google Gemini API](https://aistudio.google.com/) before using this package.


<br>
Expand All @@ -35,18 +35,10 @@ Gemini is a family of generative AI models developed by Google DeepMind that is
- [# 07. Generate content using Google Services](#-07-generate-content-using-google-services)
- [# 08. Fix context setting rcid](#-08-fix-context-setting-rcid)
- [# 09. Changing the Selected Response from 0 to n](#-09-changing-the-selected-response-from-0-to-n)
- [Further](#further)
- [Use rotating proxies](#use-rotating-proxies)
- [More features](#more-features)
- [Open-source LLM, Gemma](#open-source-llm-gemma)
- [How to use Gemma](#how-to-use-gemma)
- [FAQ](#faq)
- [Sponsor](#sponsor)
- [Issues](#issues)
- [Contributors](#contributors)
- [Contacts](#contacts)
- [License](#license)
- [References](#references)




Expand Down Expand Up @@ -383,6 +375,7 @@ GeminiModelOutput.chosen = 1 # default is 0
response1 = GeminiClient.generate_content("Give me some information about the USA.")
```

<br>

## Further

Expand Down Expand Up @@ -457,32 +450,16 @@ Contributors to the [Bard API](https://github.com/dsdanielpark/Bard-API/) and [G
<br>

<details><summary>Further development potential</summary>

- [ ] `refactoring`
- [x] `gemini/core`: httpx.session
- [x] `messages`
- [x] `content`
- [x] `text`
- [x] `parsing`
- [x] `image`
- [x] `parsing`
- [x] `response format structure class`
- [ ] `tool_calls`
- [ ] `third party`
- [ ] `replit`
- [ ] `google tools`
- [ ] `gemini/client`: httpx.AsyncClient
- [ ] `messages`
- [ ] `content`
- [ ] `text`
- [ ] `parsing`
- [ ] `image`
- [ ] `parsing`
- [ ] `response format structure class`
- [ ] `tool_calls`
- [ ] `third party`
- [ ] `replit`
- [ ] `google tools`

Modifications to the async client using my logic are needed, along with automatic cookie collection via browser_cookie3, and implementation of other Bard API features (such as code extraction, export to Replit, graph drawing, etc.).

Please note that while reviewing automatic cookie collection, it appears that cookies expire immediately upon sending a request for collection. Efforts to make it more user-friendly were unsuccessful. Also, the _sid value seems to work normally even when returned as None.

Lastly, if the CustomParser and ResponseParser algorithms do not function properly, new parsing methods can be updated through conditional statements in the relevant sections.

I do not plan to actively curate this repository. Please review [HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) first.

Thank you, and have a great day.
</details>

## Contacts
Expand All @@ -499,8 +476,8 @@ Core maintainers:

## References
[1] Github: [acheong08/Bard](https://github.com/acheong08/Bard) <br>
[2] Github: [dsdanielpark/Bard-API](https://github.com/dsdanielpark/Bard-API) <br>
[3] GitHub: [HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) <br>
[2] GitHub: [HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) <br>
[3] Github: [dsdanielpark/Bard-API](https://github.com/dsdanielpark/Bard-API) <br>
[4] Github: [GoogleCloudPlatform/generative-ai](https://github.com/GoogleCloudPlatform/generative-ai) <br>
[5] WebSite: [Google AI Studio](https://ai.google.dev/tutorials/ai-studio_quickstart) <br>

Expand Down

0 comments on commit fdf064c

Please sign in to comment.