Skip to content

This repository hosts a Jupyter notebook that demonstrates the seamless integration of the Bard API with the LangChain library. By leveraging the capabilities of both platforms, we've crafted a custom Language Learning Model (LLM) that allows users to harness the power of Bard within the LangChain ecosystem.

Notifications You must be signed in to change notification settings

Illia-the-coder/BardAPI-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation


BardAPI-LLM

This repository contains a Jupyter notebook that showcases the integration of the Bard API with the LangChain library. By combining the strengths of both platforms, we present a custom Language Learning Model (LLM) tailored for the Bard API, enabling users to tap into Bard's capabilities within the LangChain framework.

Features:

  • Custom Bard LLM: A specialized class that interfaces with the Bard API, making it compatible with LangChain's LLM structure.
  • LangChain Integration: Step-by-step demonstration of how to deploy the custom Bard LLM within LangChain's agent and tools.
  • Interactive Experience: Execute the notebook for an interactive session, querying the Bard API through the integrated LLM.

Libraries Utilized:

Library Purpose
bardapi Interface to the Bard API, facilitating direct interactions.
langchain Comprehensive library for handling language models, agents, and tools.
os For OS-level operations, such as environment variable management.

How to Use:

  1. Clone the BardAPI-LLM repository.
  2. Launch the Jupyter notebook.
  3. Install the required libraries as listed.
  4. Input your Bard API token and execute the notebook cells to witness the integration live.

Contribute:

Your insights matter! Feel free to fork, raise issues, or propose pull requests. All feedback and contributions are highly appreciated.


About

This repository hosts a Jupyter notebook that demonstrates the seamless integration of the Bard API with the LangChain library. By leveraging the capabilities of both platforms, we've crafted a custom Language Learning Model (LLM) that allows users to harness the power of Bard within the LangChain ecosystem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published