Commit Graph

28 Commits

Author SHA1 Message Date
dependabot[bot]
e31b0173ec
Bump setuptools from 68.0.0 to 70.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 68.0.0 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v68.0.0...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 18:25:19 +00:00
dependabot[bot]
14a664f8f5
Bump langchain-core from 0.1.29 to 0.1.35
Bumps [langchain-core](https://github.com/langchain-ai/langchain) from 0.1.29 to 0.1.35.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/commits)

---
updated-dependencies:
- dependency-name: langchain-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 17:58:17 +00:00
dependabot[bot]
885fbc3c23
Bump langchain from 0.0.325 to 0.1.11
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.325 to 0.1.11.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.325...v0.1.11)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 16:30:55 +00:00
dependabot[bot]
ad92c6a6f7
Bump langchain from 0.0.325 to 0.1.0
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.325 to 0.1.0.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.325...v0.1.0)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 21:12:03 +00:00
dependabot[bot]
32237b0e0b
Bump cryptography from 42.0.2 to 42.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 20:45:04 +00:00
dependabot[bot]
4c5766dffe
Bump cryptography from 42.0.0 to 42.0.2
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.0...42.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 00:54:09 +00:00
dependabot[bot]
7b4341557b
Bump cryptography from 41.0.6 to 42.0.0
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.6 to 42.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.6...42.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:09:30 +00:00
dependabot[bot]
437b7385e9
Bump cryptography from 41.0.4 to 41.0.6
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.4 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.4...41.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 00:10:55 +00:00
dependabot[bot]
543f8b6f49
Bump langchain from 0.0.325 to 0.0.329
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.325 to 0.0.329.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.325...v0.0.329)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 05:24:04 +00:00
Saryev Rustam
f03f52827b
Merge branch 'main' into dependabot/pip/langchain-0.0.325 2023-11-05 11:39:17 +02:00
dependabot[bot]
13e589888c
Bump langchain from 0.0.236 to 0.0.325
Bumps [langchain](https://github.com/langchain-ai/langchain) from 0.0.236 to 0.0.325.
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/v0.0.236...v0.0.325)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 20:23:39 +00:00
dependabot[bot]
49ba7fc046
Bump urllib3 from 1.26.6 to 1.26.18
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.6 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.6...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 02:21:51 +00:00
dependabot[bot]
92ab7f18b9
Bump cryptography from 41.0.3 to 41.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 41.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...41.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 21:28:30 +00:00
Saryev Rustam
eba1ab7b74
Merge pull request #24 from rsaryev/dependabot/pip/httpx-0.23.0
Bump httpx from 0.15.5 to 0.23.0
2023-09-20 21:59:55 +03:00
dependabot[bot]
66d88de716
Bump httpx from 0.15.5 to 0.23.0
Bumps [httpx](https://github.com/encode/httpx) from 0.15.5 to 0.23.0.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.15.5...0.23.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-17 10:04:07 +00:00
dependabot[bot]
4a70364900
Bump gitpython from 3.1.31 to 3.1.35
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.31 to 3.1.35.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.31...3.1.35)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-17 10:03:58 +00:00
dependabot[bot]
6fda06cd9f
Bump cryptography from 41.0.1 to 41.0.3
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.1 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.1...41.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 18:24:36 +00:00
dependabot[bot]
cb36a73539
Bump langchain from 0.0.181 to 0.0.236
Bumps [langchain](https://github.com/hwchase17/langchain) from 0.0.181 to 0.0.236.
- [Release notes](https://github.com/hwchase17/langchain/releases)
- [Commits](https://github.com/hwchase17/langchain/compare/v0.0.181...v0.0.236)

---
updated-dependencies:
- dependency-name: langchain
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-13 07:04:06 +00:00
Saryev Rustam
01aef1c449 Bump version to 0.1.42 refactor BaseLLM 2023-07-05 13:59:22 +03:00
Saryev Rustam
136c09c971 Update 2023-07-05 05:22:11 +03:00
Saryev Rustam
761210d861 Add support for loading files with extensions not present in ALLOW_FILES in LOADER_MAPPING. 2023-06-30 17:34:02 +03:00
Saryev Rustam
703b98ea82 use default gpt-3.5-turbo-0613 2023-06-14 13:58:25 +03:00
Saryev Rustam
675e7778ff feat: add file loading with multiprocessing
- Add multiprocessing to load files in parallel
- Update loader mapping to handle various file types
2023-05-30 11:12:32 +03:00
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.
2023-05-30 01:12:31 +03:00
Saryev Rustam
d1b0c0a796 feat: add cost calculation and approval prompt for vector store creation
- Add  function to calculate the cost of creating a vector store for given documents
- Prompt user to approve the cost before creating the vector store
- Exit if user does not approve the cost
2023-05-27 17:13:39 +03:00
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.
2023-05-27 04:20:40 +03:00
Saryev Rustam
569b7d9536 Add spinner to indicate loading files
- Added a spinner using the Halo package to indicate when files are being loaded.
- The spinner appears while the load_files function is running and disappears once the function has completed.
- This should improve the user experience by providing feedback that the program is actively doing something.
2023-05-26 21:38:24 +03:00
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
2023-05-26 04:47:22 +03:00