Tudor44 / amanuensis-simple-ai-agent

An experimental project that uses Langchain for demonstrate LLM capabilities integrating custom APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“– Amanuensis Simple AI Agent ๐Ÿค–

Experimental project using Langchain with OpenAI APIs and Wikipedia API.

Overview

This is an experimental project for generate a text on a topic that you want. The goal is to explore and demonstrate the capabilities of integrations with Langchain and potential applications.

Requirements

  • Python 3.x
  • Langchain
  • OpenAI API
  • Wikipedia API

Installation

  1. Clone the repository

  2. Install the required packages using venv:

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
  1. Set up your OPENAI_API_KEY, creating an .env file into main folder
OPENAI_API_SECRET_KEY=<your_api_secret_key>
  1. Execute it using streamlit
cd src
streamlit run main.py

License

This project is licensed under the MIT License.

About

An experimental project that uses Langchain for demonstrate LLM capabilities integrating custom APIs


Languages

Language:Python 100.0%