agentai icon indicating copy to clipboard operation
agentai copied to clipboard

Text to Python Objects via a LLM Function Call

Results 10 agentai issues
Sort by recently updated
recently updated
newest added

Hey, Nirant, I ran the following as pr the README.md file: from agentai.api import chat_complete, chat_complete_execute_fn **from agentai.openai_function import tool, ToolRegistry** from agentai.conversation import Conversation from enum import Enum weather_registry...

This PR has the initial functionality of querying a vectordb(using Chroma Db for now) with agentai. A query model for Chroma looks like this -> ``` class Query(BaseModel): """Query Model...

This PR addresses the following issue. Say we have a Pydantic Model like ``` class GameEntry(BaseModel): """Entry for the Name, Place, Animal, Thing game.""" letter: str = Field(..., description="The starting...

This PR has a simple example comparing the ease of using agentai and openai directly. I wrote this for myself but thought this might be useful, later on. Feel free...

This PR has 3 changes related to function execution with chat. 1. Added an extra parser from [https://github.com/Stevenic/alphawave-py](https://github.com/Stevenic/alphawave-py/blob/main/src/alphawave/Response.py). Some of the function arguments returned by openai weren't being parsed by...

This is an early parsing script for Azure's Document Intelligence/Form Recognizer. Do take a look and leave some feedback for improvement. Took the style of [langchain's agent code for Azure...

In addition to unstructured, have [Azure Form Recognizer](azure.microsoft.com/en-us/pricing/details/form-recognizer) as an optional dependency. That has great pdf extraction and something I'd like to use more often

This PR has tests for conversation and parser. Don't merge this yet. I'll finish writing tests for the whole agentai as well. Help required: I've tested these test files in...

Use: https://github.com/Unstructured-IO/unstructured For reference, look at how [SQLite Utils](https://github.com/NirantK/agentai/blob/main/agentai/sqlite_utils.py) are organised. These are optional and someone not using them — never needs to care about them Desired Workflow: Someone points...

Add types for function metadata and improve relevant variable/function names **Note: Please don't review or merge**