No project description provided
Project description
base.py
👋 Hi there,
This module is to simplify the access to utility functions I use in various codebases. Feel free to use it and suggest improvements 🤝
Last Update - 8th of January 2024
WIP: Adding the OAI assistants in this package
What is in this package?
The package is separated in 3 modules: 1. General utilities functions in 'base.py' 2. Open AI related functions in 'oai.py' 3. Internet related functions
TODO => provide some examples in this README to make it more convenient.
Dependencies If not already installed, this module will install the following packages and their dependencies:
- tiktoken - to calculate the number of tokens
- openai - for embedding, chat-gpt-3.5, and chat-gpt-4
- request
- bs4
Old Updates
November 2023: Added the latest models from Open AI and added a func to extract the conversation in a clean manner even with nested json.
September 2023: (Removed in 2024) We are now using Chat-GPT-Instruct when "asking a question" to GPT. This is faster and more performant than queriying the Chat Model (3.5 turbo).
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 henryobj-0.1.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bcab0f06fd7c26f8ff807596c69748395cbddb290dfda8b03880a90d9837d66 |
|
MD5 | bbd682ad652838186d659291e6019fd9 |
|
BLAKE2b-256 | f67f27c582c1acdc67dcad3c4032ed1b5ce0b730a553de7417332efe532a37a3 |