Spaces:
Runtime error
Runtime error
Commit ·
9da81ea
1
Parent(s): 29c4d1d
Refactor README.md to update project details and enhance clarity
Browse files- .huggingface/Readme.md +0 -38
- README.md +47 -66
.huggingface/Readme.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
| 1 |
-
# Zenith - AI Assistant
|
| 2 |
-
|
| 3 |
-
## Overview
|
| 4 |
-
Zenith is an advanced conversational AI assistant built with state-of-the-art language models and a modern tech stack. This application leverages the power of LLMs through various integrations to provide intelligent responses, document analysis, and conversational capabilities.
|
| 5 |
-
|
| 6 |
-
## Features
|
| 7 |
-
- **Interactive Chat Interface**: Engage with AI models through a responsive chat UI
|
| 8 |
-
- **Document Processing**: Upload and analyze documents for information extraction
|
| 9 |
-
- **Multiple Model Support**: Compatible with various LLM providers (OpenAI, Anthropic, etc.)
|
| 10 |
-
- **Context Awareness**: Maintains conversation history for contextual responses
|
| 11 |
-
|
| 12 |
-
## Technologies
|
| 13 |
-
- **Framework**: Chainlit, FastAPI
|
| 14 |
-
- **AI/ML**: LangChain, Transformers, PyTorch
|
| 15 |
-
- **Data Processing**: Pandas, NumPy, scikit-learn
|
| 16 |
-
- **Document Handling**: PyPDF, Beautiful Soup
|
| 17 |
-
|
| 18 |
-
## Usage
|
| 19 |
-
1. Type your questions or requests in the chat interface
|
| 20 |
-
2. Upload documents for analysis when needed
|
| 21 |
-
3. Use the available tools and features as indicated in the UI
|
| 22 |
-
|
| 23 |
-
## Configuration
|
| 24 |
-
The application uses environment variables for configuration. The following can be set in your Hugging Face Space settings under the "Secrets" tab:
|
| 25 |
-
- `OPENAI_API_KEY` - Your OpenAI API key
|
| 26 |
-
- `ANTHROPIC_API_KEY` - Your Anthropic API key (if using Claude)
|
| 27 |
-
- Other API keys as needed for your specific implementation
|
| 28 |
-
|
| 29 |
-
## Deployment
|
| 30 |
-
This application is deployed on Hugging Face Spaces, providing a scalable and accessible platform for users to interact with the AI assistant without any setup requirements.
|
| 31 |
-
|
| 32 |
-
## Limitations
|
| 33 |
-
- Processing time may vary based on server load
|
| 34 |
-
- File size limitations apply to document uploads
|
| 35 |
-
- Response quality depends on the underlying AI models
|
| 36 |
-
|
| 37 |
-
## Feedback
|
| 38 |
-
If you encounter any issues or have suggestions for improvements, please leave a comment on this Space or open an issue in the project repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
|
@@ -1,68 +1,49 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
- **
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
- **vectorstores/**: Documentation about vector stores.
|
| 30 |
-
- **README.md**: Setup and usage instructions for vector stores.
|
| 31 |
-
|
| 32 |
-
- **requirements.txt**: Lists dependencies required for the project.
|
| 33 |
-
|
| 34 |
-
- **chainlit.md**: Documentation specific to the Chainlit framework.
|
| 35 |
-
|
| 36 |
-
- **.env**: Stores environment variables for sensitive information.
|
| 37 |
-
|
| 38 |
-
## Setup Instructions
|
| 39 |
-
|
| 40 |
-
1. Clone the repository:
|
| 41 |
-
```
|
| 42 |
-
git clone <repository-url>
|
| 43 |
-
cd chainlit-app
|
| 44 |
-
```
|
| 45 |
-
|
| 46 |
-
2. Install the required dependencies:
|
| 47 |
-
```
|
| 48 |
-
pip install -r requirements.txt
|
| 49 |
-
```
|
| 50 |
-
|
| 51 |
-
3. Set up environment variables in the `.env` file.
|
| 52 |
-
|
| 53 |
-
4. Run the application:
|
| 54 |
-
```
|
| 55 |
-
chainlit run main.py
|
| 56 |
-
```
|
| 57 |
|
| 58 |
## Usage
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Zenith
|
| 3 |
+
emoji: 🚀
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: docker
|
| 7 |
+
sdk_version: "latest"
|
| 8 |
+
app_file: main.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Zenith - AI Assistant
|
| 13 |
+
|
| 14 |
+
## Overview
|
| 15 |
+
Zenith is an advanced conversational AI assistant built with state-of-the-art language models and a modern tech stack. This application leverages the power of LLMs through various integrations to provide intelligent responses, document analysis, and conversational capabilities.
|
| 16 |
+
|
| 17 |
+
## Features
|
| 18 |
+
- **Interactive Chat Interface**: Engage with AI models through a responsive chat UI
|
| 19 |
+
- **Document Processing**: Upload and analyze documents for information extraction
|
| 20 |
+
- **Multiple Model Support**: Compatible with various LLM providers (OpenAI, Anthropic, etc.)
|
| 21 |
+
- **Context Awareness**: Maintains conversation history for contextual responses
|
| 22 |
+
|
| 23 |
+
## Technologies
|
| 24 |
+
- **Framework**: Chainlit, FastAPI
|
| 25 |
+
- **AI/ML**: LangChain, Transformers, PyTorch
|
| 26 |
+
- **Data Processing**: Pandas, NumPy, scikit-learn
|
| 27 |
+
- **Document Handling**: PyPDF, Beautiful Soup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Usage
|
| 30 |
+
1. Type your questions or requests in the chat interface
|
| 31 |
+
2. Upload documents for analysis when needed
|
| 32 |
+
3. Use the available tools and features as indicated in the UI
|
| 33 |
+
|
| 34 |
+
## Configuration
|
| 35 |
+
The application uses environment variables for configuration. The following can be set in your Hugging Face Space settings under the "Secrets" tab:
|
| 36 |
+
- `OPENAI_API_KEY` - Your OpenAI API key
|
| 37 |
+
- `ANTHROPIC_API_KEY` - Your Anthropic API key (if using Claude)
|
| 38 |
+
- Other API keys as needed for your specific implementation
|
| 39 |
+
|
| 40 |
+
## Deployment
|
| 41 |
+
This application is deployed on Hugging Face Spaces, providing a scalable and accessible platform for users to interact with the AI assistant without any setup requirements.
|
| 42 |
+
|
| 43 |
+
## Limitations
|
| 44 |
+
- Processing time may vary based on server load
|
| 45 |
+
- File size limitations apply to document uploads
|
| 46 |
+
- Response quality depends on the underlying AI models
|
| 47 |
+
|
| 48 |
+
## Feedback
|
| 49 |
+
If you encounter any issues or have suggestions for improvements, please leave a comment on this Space or open an issue in the project repository.
|