Skip to content

tinhtq/chatbot

Repository files navigation

Building Backend AI Chatbot

Pre-setup

Execute the below command to create docker ollama

docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

Pull model llama3

docker exec ollama ollama pull llama3  

Setup

Execute the below command to create requirements.txt file

pipenv requirements > requirements.txt

Common Issues

Upload File Issue

The issue with new user to use FastAPI framework

image

Solve this problem with the following content

image

Mismatch Dependency

Issue:

image

Solve:

Execute the below command to solve

pipenv lock --pre

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published