A financial chat application powered by Langchain, OpenBB, and Claude 3 Opus
A financial chat application powered by LangChain, OpenBB, and Claude 3 Opus.
If you're curious about the journey of building this project, check out these blog articles:
poetry install
.env
at the project root for these:export OPENAI_API_KEY=<your-api-key>
export OPENBB_TOKEN=<your-openbb-token>
export TIINGO_API_KEY=<your-tiingo-api-key>
export IMGUR_CLIENT_ID=<your-imgur-client-id>
export IMGUR_CLIENT_SECRET=<your-imgur-client-secret>
Run the Streamlit app:
streamlit run app/ui.py
Start the FastAPI server:
uvicorn app.server:app --host 0.0.0.0 --port 8080
Build the Docker image:
docker build -t financial-chat .
Run the Docker container:
docker run -p 8080:8080 --env-file .env financial-chat
app/
: Main application code
chains/
: LangChain agent and promptsfeatures/
: Feature-specific code (technical analysis, charting)tools/
: Custom tools for data retrieval and analysisui.py
: Streamlit UIserver.py
: FastAPI serverDockerfile
: Dockerfile for building the applicationpyproject.toml
: Project dependencies and configurationREADME.md
: Project documentation