Utility function for getting embeddings, llms, chat completion models etc
Project description
Project Description
In your README.md
file, you can provide a detailed project description. Based on your provided description, it would look like this:
# OpenCopilot Utility Library
The OpenCopilot Utility Library contains a collection of common utility functions, types, and interfaces used across the entire OpenCopilot application. It also provides essential embeddings for your project.
## Features
- A comprehensive set of utility functions.
- Common types and interfaces that are widely used within the application.
- Pre-configured embeddings for seamless integration.
## Getting Started
To start using the utility library, you can initialize your vector store with the provided embeddings using the following code:
```python
from opencopilot_utils import get_embeddings, init_vector_store, StoreOptions
embeddings = get_embeddings()
init_vector_store(docs, embeddings, StoreOptions(namespace=bot_id))
Installation
You can install the library via pip:
pip install opencopilot-utils
Usage
To use the utility functions and types, simply import them in your Python code:
from opencopilot_utils import some_utility_function, SomeCommonType
For more details and examples, please refer to the official documentation.
Contributing
We welcome contributions from the community. If you have suggestions, bug reports, or would like to contribute to the project, please check our contribution guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Publishing Your Library
Increment the version of the library in setup.py Use the publish script publish.sh to publish the library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for opencopilot_utils-2.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e589fd50292ac5120d5dfde8e75e280174af58bd46a2d4eeb022a2c0fc51bbdc |
|
MD5 | e91ec41f8a6430419e95b0dd59e143cb |
|
BLAKE2b-256 | 1048a90368fb5b29b5d5f4ac3ddb3079513ba96d4cc789311ba3c14ea76074e3 |