Amari Python Library
Amari connects your OpenAI calls to the internet. It automatically understands when your OpenAI calls need relevant real-time information from the internet and, augments your calls with them.
Installation
You can install this package by running
pip install amari-python
Example
from amari import openai
openai.amari_api_key = "..."
openai.api_key = "sk-..."
chat_completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=[{
"role": "user",
"content": "What's the weather in San Francisco today?"
}],
temperature=0,
)
print(chat_completion.choices[0].message.content)
# The current weather in San Francisco is 69°F with mostly sunny conditions.
Metadata
Release files for amari-python 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amari-python-0.0.2.tar.gz | 51.2 kB | Details |
Release files / amari-python-0.0.2.tar.gz
| Download URL | amari-python-0.0.2.tar.gz |
|---|---|
| Size | 51.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
263a9b9b2dedeefee231e9fe0893bba6a0344c620617b9803c99c922a7be87f3
|
|
BLAKE2b-256 checksum How to use checksums |
0a0f9cdfa5222e82a370c91e82adcb62f004babb6e060458fade2c5f934a05ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|