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

Commit fdf064c

Browse files
committed
2 parents 07a39ff + fdd4bb6 commit fdf064c

File tree

1 file changed

+15
-38
lines changed

1 file changed

+15
-38
lines changed

README.md

+15-38
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A *unofficial* Python wrapper, [python-gemini-api](https://pypi.org/project/pyth
1010

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

13-
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.
13+
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.
1414

1515

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

5143

5244

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

378+
<br>
386379

387380
## Further
388381

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

459452
<details><summary>Further development potential</summary>
460-
461-
- [ ] `refactoring`
462-
- [x] `gemini/core`: httpx.session
463-
- [x] `messages`
464-
- [x] `content`
465-
- [x] `text`
466-
- [x] `parsing`
467-
- [x] `image`
468-
- [x] `parsing`
469-
- [x] `response format structure class`
470-
- [ ] `tool_calls`
471-
- [ ] `third party`
472-
- [ ] `replit`
473-
- [ ] `google tools`
474-
- [ ] `gemini/client`: httpx.AsyncClient
475-
- [ ] `messages`
476-
- [ ] `content`
477-
- [ ] `text`
478-
- [ ] `parsing`
479-
- [ ] `image`
480-
- [ ] `parsing`
481-
- [ ] `response format structure class`
482-
- [ ] `tool_calls`
483-
- [ ] `third party`
484-
- [ ] `replit`
485-
- [ ] `google tools`
453+
454+
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.).
455+
456+
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.
457+
458+
Lastly, if the CustomParser and ResponseParser algorithms do not function properly, new parsing methods can be updated through conditional statements in the relevant sections.
459+
460+
I do not plan to actively curate this repository. Please review [HanaokaYuzu/Gemini-API](https://github.com/HanaokaYuzu/Gemini-API) first.
461+
462+
Thank you, and have a great day.
486463
</details>
487464

488465
## Contacts
@@ -499,8 +476,8 @@ Core maintainers:
499476

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

0 commit comments

Comments
 (0)