Otomati APP help communicate with AI models in a more human-like way.
This app collects the basic functionalities of the LangChain framework.
Current examples include:
- Chatbot
- File Q&A
- Chat with Internet search
- LangChain Quickstart
- LangChain PromptTemplate
- Chat with user feedback
You can get your own OpenAI API key by following the following instructions:
- Go to https://platform.openai.com/api-keys.
- Click on the
+ Create new secret key
button. - Next, enter an identifier name (optional) and click on the
Create secret key
button.
To run the app locally, you can follow these steps:
poetry install
streamlit run otomati_app/Home.py
poetry publish
or you can use the following command to run the app in a Docker container:
- Build the Docker image:
docker build \ --platform=linux/amd64 \ --progress=plain \ --no-cache \ -t otomati-app:latest \ -f Dockerfile .
docker build
--platform=linux/amd64
--progress=plain
-t otomati-app:latest
-f Dockerfile .
- Run the Docker container:
docker run -it -d \ --name otomati-app \ --platform=linux/amd64 \ -p 8501:8501 \ -p 8080:8080 \ -v "$(pwd)/otomati_app/credentials.json:/app/otomati_app/credentials.json" \ otomati-app:latest \ /bin/sh
This project was inspired by and includes code from the following repository:
- Streamlit llm-examples by Streamlit
- Description: This project provided examples and utilities for integrating large language models with Streamlit applications.
The code is used under the Apache 2.0 license. For more information, please refer to the LICENSE file in this repository and the original project's repository.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.