Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 46/add model params #57

Merged
merged 26 commits into from
Aug 30, 2024
Merged

Conversation

tmeftah
Copy link
Owner

@tmeftah tmeftah commented Aug 25, 2024

No description provided.

raikarn and others added 15 commits August 23, 2024 16:00
- This commit extends the `llm_utils` module to provide a function for listing all available OLLAMA models.

- Improved the query service and added model list functionality.
- Improved the user interface by adding a select dropdown to filter models.

- Addthe ability to send a question along with the model name when pressing enter.
- Implemented enhanced `pydantic` models for increased data modeling and clarity.

- Implemented added status field and timestamps for Documents model objects.

- The service file has been updated to incorporate document progress tracking and returns the validated DocumentPydantic model object for each document.

- Improved document processing for better query response clarity and structure.
- Replaced error handling for document retrieval with a default empty list.
- The codebase now uses a consistent datetime for both `created_at` and `updated_at`.
- Implemented a document upload feature with a popup and modal.
- Added document management functionality to the main store.
@tmeftah tmeftah requested a review from NikhilRaikar17 August 25, 2024 16:44
tmeftah added 11 commits August 25, 2024 19:31
- Functionality for clearing the user's authentication token has been added.

- The code implements a mechanism to handle unauthorized access attempts and redirect the user to the login page.
- The code implements a new response template for user queries based on the provided context.
- Added support for accepting different file types for document upload.
- The code updates the vectorstore initialization and embedding function to improve efficiency and accuracy.

- Implemented an improved prompt template for AI assistant responses.
- Implemented a monitoring system to check for changes in the uploaded documents and update their status.
- The code updates the `watchdog` to use a new vector database and update document status in the background.
- Simplified database configuration for improved consistency and reduced complexity.
- Changed database connection settings to use the 'aora.db' file for SQLite persistence.
- The code rewrites the logic to build and store vector embeddings of PDF documents into a persistent vector database.
- The code defines a method to save documents into the designated directory and hash them for persistence in the database.
- The code implements environment variables loading for the application, then sets up a context manager.
@NikhilRaikar17 NikhilRaikar17 merged commit 0e13e6d into develop Aug 30, 2024
6 checks passed
Copy link
Collaborator

@NikhilRaikar17 NikhilRaikar17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LLM functionality was not tested from my end since the infra was not properly setup locally.

@NikhilRaikar17 NikhilRaikar17 added this to the MVP milestone Aug 30, 2024
@NikhilRaikar17
Copy link
Collaborator

NikhilRaikar17 commented Sep 29, 2024

This pull request has to be reopened, as I see that there is an error with the requirements. The chormaDB does not support the Sqlite error.

The installation of packages according to the readme fails and the backend cannot be started.

This error was not noticed previously as the packages were not installed from scratch.

@tmeftah Could you please take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants