Commit Graph

15 Commits (main)

Author SHA1 Message Date
rsaryev 3d3e2dabd5
Add check for Python version.
Add remove_model_name_local
10 months ago
Saryev Rustam e03ca88549 update project version, add local model images to README, and remove default local model from consts.py 12 months ago
Saryev Rustam 4aa2df1c56 add OpenAI model selection and API key validation functionalities 12 months ago
Saryev Rustam 01aef1c449 Bump version to 0.1.42 refactor BaseLLM 12 months ago
Saryev Rustam 136c09c971 Update 12 months ago
Saryev Rustam 761210d861 Add support for loading files with extensions not present in ALLOW_FILES in LOADER_MAPPING. 12 months ago
Saryev Rustam e22c850cae fix loading files bug 12 months ago
Saryev Rustam 70fee6d501 implement embedding_search method, and modify send_query and add temperature config 12 months ago
Saryev Rustam ca7f681840 Update poetry version and consts.py defaults. 1 year ago
Saryev Rustam 703b98ea82 use default gpt-3.5-turbo-0613 1 year ago
Saryev Rustam 675e7778ff feat: add file loading with multiprocessing
- Add multiprocessing to load files in parallel
- Update loader mapping to handle various file types
1 year ago
Saryev Rustam 572ee1bf4e Merge pull request #1 from rsaryev/feat/local
GPT4All
1 year ago
Saryev Rustam f9a31937bb Refactored CLI and LLM classes
- Refactored the CLI and LLM classes to improve code organization and readability.
- Added a  function to create an LLM instance based on the config.
- Moved the  function to the  and  classes.
- Added a  function to handle loading an existing vector store.
- Added a  function to estimate the cost of creating a vector store for OpenAI models.
- Updated the  function to prompt for the model type and path or API key depending on the type.
- Updated the  function to use the  function and  method of the LLM instance.
- Updated the default config to include default values for  and .
- Added a  constant to store the default config values.
- Added a  constant to store the default model path.
1 year ago
Saryev Rustam 5f08927c76 Refactor text loader and add repo check
- Refactored the text loader in utils.py to improve readability and maintainability.
- Added a new function called  in utils.py to check if the current directory is a git repository.
- Modified the  function in utils.py to ignore files and directories ignored by git.
- Added error handling to  function in utils.py to return  if the current directory is not a git repository.
1 year ago
Saryev Rustam 226203e4d9 Add CLI for chatting with OpenAI model
- Add CLI functionality for chatting with OpenAI model
- Implement  function to allow users to input OpenAI API key and model name
- Implement  function to allow users to chat with OpenAI model using retrieved documents
- Add  module to handle sending questions to OpenAI model
- Add  module to load and split text documents, create retriever, and define StreamStdOut callback class
1 year ago