vector-vault 2.2.0__tar.gz → 2.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {vector_vault-2.2.0 → vector_vault-2.2.2}/PKG-INFO +3 -3
  2. {vector_vault-2.2.0 → vector_vault-2.2.2}/README.md +2 -2
  3. {vector_vault-2.2.0 → vector_vault-2.2.2}/setup.py +1 -1
  4. {vector_vault-2.2.0 → vector_vault-2.2.2}/vector_vault.egg-info/PKG-INFO +3 -3
  5. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/ai.py +3 -2
  6. {vector_vault-2.2.0 → vector_vault-2.2.2}/LICENSE +0 -0
  7. {vector_vault-2.2.0 → vector_vault-2.2.2}/setup.cfg +0 -0
  8. {vector_vault-2.2.0 → vector_vault-2.2.2}/vector_vault.egg-info/SOURCES.txt +0 -0
  9. {vector_vault-2.2.0 → vector_vault-2.2.2}/vector_vault.egg-info/dependency_links.txt +0 -0
  10. {vector_vault-2.2.0 → vector_vault-2.2.2}/vector_vault.egg-info/requires.txt +0 -0
  11. {vector_vault-2.2.0 → vector_vault-2.2.2}/vector_vault.egg-info/top_level.txt +0 -0
  12. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/__init__.py +0 -0
  13. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/cloud_api.py +0 -0
  14. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/cloudmanager.py +0 -0
  15. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/creds.py +0 -0
  16. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/download.py +0 -0
  17. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/itemize.py +0 -0
  18. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/tools_gpt.py +0 -0
  19. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/vault.py +0 -0
  20. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/vecreq.py +0 -0
  21. {vector_vault-2.2.0 → vector_vault-2.2.2}/vectorvault/wrap.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vector_vault
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: Customize ChatGPT and unleash the full potential of generative AI with Vector Vault
5
5
  Home-page: https://github.com/John-Rood/VectorVault
6
6
  Author: VectorVault.io
@@ -19,9 +19,9 @@ License-File: LICENSE
19
19
 
20
20
  Vector Vault is a cloud-native vector database combined with OpenAI. Easily call ChatGPT or GPT4 and customize how they respond. Take any text data, vectorize it, and add it to the cloud vector database in 3 lines of code. Vector Vault enables you to quickly and securely create and interact with your vector databases - aka "Vaults". Vaults are hosted on serverless distributed cloud architecture backed by Google, making `vectorvault` scalable to any project size.
21
21
 
22
- `vectorvault` takes inspiration from LangChain and integrates their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. The main value of the `vectorvault` package is how few lines of code you'll need to write to create the expirience you're goign for. It's much simpler and easier to use ChatGPT with the `vectorvault` package than OpenAI's default package. Customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (which was made using Vector Vault).
22
+ `vectorvault` takes inspiration from LangChain, integrating their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. It's even easier to use ChatGPT with the `vectorvault` package than OpenAI's default package, and you can customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (PhilosophyGPT is powered by Vector Vault in this way).
23
23
 
24
- Make bots with knowledge and personalities. Create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and only limited by your imagination.
24
+ You can bots with knowledge and personalities, create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and limited only by your imagination.
25
25
 
26
26
  Check out the tutorials in the Examples folder. You don't need a Vector Vault API key to use the tools or chat features, but you will need one to access the Vault Cloud. If you don't already have one, you can sign up for a free account at [VectorVault.io](https://vectorvault.io). While the service is paid at production scale, the first tier is free, and the following tiers are very affordable.
27
27
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Vector Vault is a cloud-native vector database combined with OpenAI. Easily call ChatGPT or GPT4 and customize how they respond. Take any text data, vectorize it, and add it to the cloud vector database in 3 lines of code. Vector Vault enables you to quickly and securely create and interact with your vector databases - aka "Vaults". Vaults are hosted on serverless distributed cloud architecture backed by Google, making `vectorvault` scalable to any project size.
4
4
 
5
- `vectorvault` takes inspiration from LangChain and integrates their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. The main value of the `vectorvault` package is how few lines of code you'll need to write to create the expirience you're goign for. It's much simpler and easier to use ChatGPT with the `vectorvault` package than OpenAI's default package. Customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (which was made using Vector Vault).
5
+ `vectorvault` takes inspiration from LangChain, integrating their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. It's even easier to use ChatGPT with the `vectorvault` package than OpenAI's default package, and you can customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (PhilosophyGPT is powered by Vector Vault in this way).
6
6
 
7
- Make bots with knowledge and personalities. Create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and only limited by your imagination.
7
+ You can bots with knowledge and personalities, create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and limited only by your imagination.
8
8
 
9
9
  Check out the tutorials in the Examples folder. You don't need a Vector Vault API key to use the tools or chat features, but you will need one to access the Vault Cloud. If you don't already have one, you can sign up for a free account at [VectorVault.io](https://vectorvault.io). While the service is paid at production scale, the first tier is free, and the following tiers are very affordable.
10
10
 
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="vector_vault",
5
- version="2.2.0",
5
+ version="2.2.2",
6
6
  packages=find_packages(),
7
7
  author="VectorVault.io",
8
8
  author_email="john@johnrood.com",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vector-vault
3
- Version: 2.2.0
3
+ Version: 2.2.2
4
4
  Summary: Customize ChatGPT and unleash the full potential of generative AI with Vector Vault
5
5
  Home-page: https://github.com/John-Rood/VectorVault
6
6
  Author: VectorVault.io
@@ -19,9 +19,9 @@ License-File: LICENSE
19
19
 
20
20
  Vector Vault is a cloud-native vector database combined with OpenAI. Easily call ChatGPT or GPT4 and customize how they respond. Take any text data, vectorize it, and add it to the cloud vector database in 3 lines of code. Vector Vault enables you to quickly and securely create and interact with your vector databases - aka "Vaults". Vaults are hosted on serverless distributed cloud architecture backed by Google, making `vectorvault` scalable to any project size.
21
21
 
22
- `vectorvault` takes inspiration from LangChain and integrates their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. The main value of the `vectorvault` package is how few lines of code you'll need to write to create the expirience you're goign for. It's much simpler and easier to use ChatGPT with the `vectorvault` package than OpenAI's default package. Customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (which was made using Vector Vault).
22
+ `vectorvault` takes inspiration from LangChain, integrating their most popular chat features and LLM tools. However, by combining vector databases with OpenAI's chat into one single package, `vectorvault` is able to hide most of the complexity, making it simple to build custom chat experiences. It's even easier to use ChatGPT with the `vectorvault` package than OpenAI's default package, and you can customize what ChatGPT says by adding the kind of things you want it to say to the Vault. When you call the `get_chat()` function with "get_context=True", whatever you have added to the Vault will be the way ChatGPT sounds. Check out [PhilosophyGPT](https://philbrosophy.web.app) for an example of this (PhilosophyGPT is powered by Vector Vault in this way).
23
23
 
24
- Make bots with knowledge and personalities. Create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and only limited by your imagination.
24
+ You can bots with knowledge and personalities, create dynamic game characters with goals and opinions, AI support reps for a product/service, or your alter ego AI self. Use the "LLM Exclusive Tools" to create AI smart automation in code. The possibilities are endless and limited only by your imagination.
25
25
 
26
26
  Check out the tutorials in the Examples folder. You don't need a Vector Vault API key to use the tools or chat features, but you will need one to access the Vault Cloud. If you don't already have one, you can sign up for a free account at [VectorVault.io](https://vectorvault.io). While the service is paid at production scale, the first tier is free, and the following tiers are very affordable.
27
27
 
@@ -147,6 +147,7 @@ class AI:
147
147
  else: # no history. If it was overlimit, then it was taken care of above
148
148
  pass
149
149
  prompt = prompt_template.format(content=user_input)
150
+
150
151
  if history:
151
152
  response = openai.ChatCompletion.create(
152
153
  model=model,
@@ -161,10 +162,10 @@ class AI:
161
162
  if 'content' in delta:
162
163
  content = delta['content']
163
164
  yield content
164
- else:
165
+ else: # make no changes, and return response to custom_prompt
165
166
  response = openai.ChatCompletion.create(
166
167
  model=model,
167
- messages=[{"role": "user", "content": f"{prompt}"}],
168
+ messages=[{"role": "user", "content": f"{custom_prompt}"}],
168
169
  stream=True
169
170
  )
170
171
  for message in response:
File without changes
File without changes