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.2.tar.gz
(4.7 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.2-py3-none-any.whl
(5.2 kB
view details)
File details
Details for the file taot-0.1.2.tar.gz.
File metadata
- Download URL: taot-0.1.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a67117160373742eafd833de8b5ac0e452dc087097c7285b1871520ba918516e
|
|
| MD5 |
592885ddb5339b9e72c1271fbd5913c8
|
|
| BLAKE2b-256 |
8ca4ee8fbfdc239fd7dced36047520c501ee95be32e1aad4a9ce007e072812b8
|
File details
Details for the file taot-0.1.2-py3-none-any.whl.
File metadata
- Download URL: taot-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 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 |
dc995884d43150a765c0fe653d6a7d8057abccd8c5ee1c1b070f0ecc2396e8c3
|
|
| MD5 |
46848c9267bb23f838e2748cfcb8302c
|
|
| BLAKE2b-256 |
78bb040f244761a96f194853038b75c193c4db8bfb14b9eaf6f9b82446991d25
|