Welcome to the Techietalks AI repository! This project is an enhanced version of a smart AI-powered chat assistant built using Streamlit, DeepSeek API, and Pydantic_AI. It allows users to interact with an AI assistant that can answer questions conversationally and concisely, while also maintaining a history of the conversation for context.
This repository contains all the necessary files to set up and run the chat assistant locally or in a Docker container. Below, you'll find a detailed explanation of the project and instructions to get started.
Hereβs a breakdown of the files in this repository:
.DS_Store
: A macOS-specific file that stores folder attributes (e.g., icon positions). You can ignore this file..env
: A file to store environment variables, such as API keys. Important: Add your DEEPSEEK_API_KEY
here to authenticate with the DeepSeek API..gitignore
: Specifies files and folders that Git should ignore (e.g., .env
to avoid exposing sensitive information).Dockerfile
: Contains instructions to build a Docker image for the application. It sets up a Python environment, installs dependencies, and runs the Streamlit app.README.md
: This file! It provides an overview of the project and instructions for setup.app.py
: The main application file. It contains the code for the Streamlit-based chat interface and integrates with the DeepSeek API. This version also includes conversation history for better context.docker-compose.yml
: A configuration file to run the application using Docker Compose. It maps ports, loads environment variables, and sets up volumes.requirements.txt
: Lists all Python dependencies required to run the application.sree.txt
: A placeholder text file (likely for personal notes or testing).This project uses the following technologies:
.env
file.When you type a question into the chat interface, the app sends it to the DeepSeek API, processes the response, and displays it in a conversational format. It also maintains a history of the conversation, allowing the AI to provide more context-aware answers.
Follow these steps to set up and run the project:
Clone the Repository:
bash
git clone https://github.com/schogini/techietalksai.git
cd techietalksai/0003
Set Up Environment Variables:
.env
file in the project directory.plaintext
DEEPSEEK_API_KEY=your_api_key_here
Install Dependencies:
bash
pip install -r requirements.txt
Run the Application:
bash
streamlit run app.py
Open your browser and navigate to http://localhost:8501
.bash
docker-compose up --build
Open your browser and navigate to http://localhost:8502
.This project is open-source and available under the MIT License. Feel free to use, modify, and distribute it as needed.
For AI consultancy, training, and development, contact Schogini Systems Private Limited at https://www.schogini.com.
Sreeprakash Neelakantan
- Website: https://www.schogini.com
- GitHub: https://github.com/schogini/techietalksai.git
Enjoy using the Techietalks AI Smart Chat Assistant! If you have any questions or feedback, feel free to reach out. π