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.3.tar.gz
(4.8 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.3-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file taot-0.1.3.tar.gz.
File metadata
- Download URL: taot-0.1.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39ddc66019c9615c1fe357671682708e0e0d019ecb07c18c041c6cf773d68bac
|
|
| MD5 |
ffe7da6e3ecdc4c587708621625bcb05
|
|
| BLAKE2b-256 |
0a4ba6785f39bb7a1395f541fad1d7114197dcda51a013796f0449d3f2b861d9
|
File details
Details for the file taot-0.1.3-py3-none-any.whl.
File metadata
- Download URL: taot-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.3 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 |
18bcd6f3989d76e756a7d196e13e0d1184d364f19d5581e57e4a9754e8edbfe2
|
|
| MD5 |
be597e3b038d4e61e778a4852f9c840a
|
|
| BLAKE2b-256 |
0c365e3b251089901a7377bd992d846ede34cf371fa0c0d2c6ad21adab57c9c3
|