Tool Ahead of Time (TAoT)
Project description
Tool Ahead of Time (TAoT)
A Python package for creating and managing tool-enabled AI agents using LangChain and OpenAI.
Installation
pip install taot
Usage
from taot import create_system_message_taot, create_react_agent_taot
from langchain_openai import ChatOpenAI
# Initialize
model = ChatOpenAI()
# Create system message
system_message = "Your system message here..."
system_message_taot = create_system_message_taot(system_message)
# Prepare messages
messages = [
{"role": "system", "content": system_message_taot},
{"role": "user", "content": "Your user message here..."}
]
# Create and invoke agent
agent = create_react_agent_taot(model, tools=[your_tools])
response = agent.invoke({"messages": messages})
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
taot-0.1.0.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
taot-0.1.0-py3-none-any.whl
(5.0 kB
view details)
File details
Details for the file taot-0.1.0.tar.gz.
File metadata
- Download URL: taot-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96170576544fdddc8464e6965fa219f6286389370036e8f6a5f29948727f023c
|
|
| MD5 |
5d5fb4b725e3c3f1f8cdebf916985cb8
|
|
| BLAKE2b-256 |
2b644063496bd2a30ecc714305fbc898e57c3257efd9e8ab3b8b2cee6b11b1ce
|
File details
Details for the file taot-0.1.0-py3-none-any.whl.
File metadata
- Download URL: taot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdad96b65dd97c55ea5961d8b803f37235433b351b2bbcd1cc52a3bb46fc5eba
|
|
| MD5 |
85dd1c9d355b95cbcc2aa97a23dfa641
|
|
| BLAKE2b-256 |
00fae82e9184a281294eccaeb458017f98e9538e918240ab809cfe137a3db644
|