Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencopilot_utils-2.1.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencopilot_utils-2.1.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file opencopilot_utils-2.1.2.tar.gz.

File metadata

  • Download URL: opencopilot_utils-2.1.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for opencopilot_utils-2.1.2.tar.gz
Algorithm Hash digest
SHA256 a324d3f7b1ed579960d4e0860895901f54ade75d55a5f807fc7bbb6d809b8df0
MD5 c571b784f74bd074c68f701d8d8afa7d
BLAKE2b-256 0a43f986ec648a1cfc3bac9169ad00feee7ccc99e39f0bc0554af9fd11827577

See more details on using hashes here.

File details

Details for the file opencopilot_utils-2.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for opencopilot_utils-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e589fd50292ac5120d5dfde8e75e280174af58bd46a2d4eeb022a2c0fc51bbdc
MD5 e91ec41f8a6430419e95b0dd59e143cb
BLAKE2b-256 1048a90368fb5b29b5d5f4ac3ddb3079513ba96d4cc789311ba3c14ea76074e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page