Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

langchain and gemini #124

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

langchain and gemini #124

wants to merge 1 commit into from

Conversation

hemanth
Copy link

@hemanth hemanth commented May 10, 2024

Example of using langchain with gemini.

Example of using langchain with gemini.
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added status:awaiting review PR awaiting review from a maintainer component:examples Issues/PR referencing examples folder labels May 10, 2024
@markmcd
Copy link
Member

markmcd commented Aug 15, 2024

Hey @hemanth - thanks for the contribution & sorry for the super slow response!

Could you give me an outline of what you want this guide to achieve? Just a high level sentence or two. I want to make sure it's not already covered by our existing Langchain content.

@markmcd markmcd added status:awaiting response Awaiting a response from the author and removed status:awaiting review PR awaiting review from a maintainer labels Aug 15, 2024
@hemanth
Copy link
Author

hemanth commented Aug 20, 2024

@markmcd NP! Back then in may there was no Langchain content.

This PR demonstrates how to use the Langchain framework with Google's Gemini Pro language model. It showcases various Langchain features, such as prompt templates, chains, agents, and memory, using code examples to interact with Gemini Pro for tasks like generating creative text formats, answering questions, and executing code 🤓

@markmcd
Copy link
Member

markmcd commented Aug 23, 2024

This PR demonstrates how to use the Langchain framework with Google's Gemini Pro language model. It showcases various Langchain features, such as prompt templates, chains, agents, and memory, using code examples to interact with Gemini Pro for tasks like generating creative text formats, answering questions, and executing code 🤓

OK sounds good - can you make sure the guide has some text in it? I've started a template in #263 that includes some general advice, but basically include some detail about what the reader can expect to learn, and then explain it as you go through. This will help make it useful to more people, and will help us with ongoing maintenance.

We typically keep the notebooks focused on a single task too (e.g. "building an agent with gemini and LC") so if this starts to get big, you might want to to split it up.

And at some point you'll need to rebase onto the latest main too, so the notebook format/link checks are run.

Back then in may there was no Langchain content.

Before we had the cookbook we used the docs repo, so there was a gap where it appeared here that we didn't have some integrations. No problem though.

@hemanth
Copy link
Author

hemanth commented Aug 24, 2024

can you make sure the guide has some text in it?

Sure, I can add that.

you might want to to split it up.

will check and spilt it into smaller notebooks

notebook format/link checks are run.

got it.

the docs repo

Ah! Yes, I remember seeing these.

Copy link

github-actions bot commented Sep 8, 2024

Marking this pull request as stale since it has been open for 14 days with no activity. This PR will be closed if no further activity occurs.

@github-actions github-actions bot added the status:stale Issue/PR is marked for closure due to inactivity label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:examples Issues/PR referencing examples folder status:awaiting response Awaiting a response from the author status:stale Issue/PR is marked for closure due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants