aisuite
aisuite copied to clipboard
Simple, unified interface to multiple Generative AI providers
When trying to use anthropic models I get this error. Bellow you can find my requirements.txt -i https://pypi.org/simple aisuite[all]==0.1.6 annotated-types==0.7.0 anthropic==0.30.1 anyio==4.6.2.post1 certifi==2024.8.30 cffi==1.17.1 charset-normalizer==3.4.0 cryptography==44.0.0 deprecated==1.2.15 distro==1.9.0 exceptiongroup==1.2.2 filelock==3.16.1...
I would find it very helpful if common inference parameters, such as temperature or max. tokens, had normalized argument names. These could then be automatically mapped to the required configuration...
It would be very helpful if text responses could be streamed rather than requiring a full await. This feature would be especially beneficial for chat applications. For instance: - In...
# Summary Add type hints to the codebase. This includes adding a py.typed file (as per [PEP 561](https://peps.python.org/pep-0561/)) to enable type checkers to use `aisuite`'s type information effectively. # Why...
I would like to know what makes this project different from litellm and detailed docs for its usage like litellm project is needed for others to understand clearly how to...
``` Traceback (most recent call last): File "D:\ai-research-suite\aisuite_ai.py", line 23, in response = client.chat.completions.create( model=model, messages=messages, temperature=0.75 ) File "D:\ai-research-suite\venv\Lib\site-packages\aisuite\client.py", line 117, in create return provider.chat_completions_create(model_name, messages, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File...
I would like to suggest you support structured responses, in particular JSON responses. Are there any plans for structured responses?
would be great to support a gradio app with chat interface, see https://www.gradio.app/docs/gradio/chatinterface
I would like to request support for Python’s asyncio in this library. This feature would be particularly beneficial for Python services, which often rely on asynchronous programming for efficient and...
Is there any (plans for) function calling support? Without it, this has limited use in practical applications.