Skip to content

An AI agent that can automatically perform CRUD operations

Notifications You must be signed in to change notification settings

Armaan457/CRUD-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUD Agent

An chatbot agent that can automatically perform CRUD operations using a custom made REST API via simple messaging.

Technologies used

Framework: LangChain
Web Interface: Streamlit
LLM: Mistral Small
REST API: Django REST and Swagger(for OpenAPI docs)

Setup

Clone the repository:

> git clone https://github.com/Armaan457/CRUD-Agent.git

Create and activate a virtual environment:

> python -m venv venv
> venv\scripts\activate

Install dependencies:

> pip install -r requirements.txt

Run the API server in the correct directory:

> cd foods
> python manage.py runserver

Run the app server:

> streamlit run app.py

Example

For demonstration, I have made REST APIs for performing CRUD operations on a SQL db for a Django project foods. In the tools.py the neccessary tools are defined and the Agent lies in the app.py file.

About

An AI agent that can automatically perform CRUD operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages