Skip to content

This repo contains a python app that exposes an API for autosuggesting CLI commands using Langframe LLM integrations.

License

Notifications You must be signed in to change notification settings

arjuncooliitr/jarvismind-llm-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jarvismind-llm-api

This repo contains a python app that exposes an API for autosuggesting CLI commands using Langframe LLM integrations.

Setup Instructions

  1. Clone the repository into your local machine
  2. Open the repository in your favourite editor
  3. Install the required dependencies by running listed in requirements.txt by running pip install -r requirements.txt.
  4. Create a .env file and add the required credentials and secrets there like AZURE_OPENAI_ENDPOINT, OPENAI_API_VERSION etc
  5. Run the app : uvicorn main:app --reload
  6. Access the Autosuggestion api, sample curl: curl --location --request POST 'http://localhost:8000/suggestaiocommand' \ --header 'accept: application/json' \ --header 'Content-Type: application/json' \ --data-raw '{ "input_str": "deploy app" }'

Contributing

Contributions to this repository are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request.

About

This repo contains a python app that exposes an API for autosuggesting CLI commands using Langframe LLM integrations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages