Nadav Timor
Nadav Timor
In the sections "Input Saliency" and "Detailed Saliency," the links to `Notebook` and `Colab` are broken.
 
Consider implementing `tenacity` fallbacks as in OpenAI's [example](https://github.com/openai/openai-cookbook/blob/main/examples/How_to_call_functions_with_chat_models.ipynb) to avoid such failures (when sending multiple requests): ```python KeyError: "No AI generation: {'error': {'message': 'That model is currently overloaded with other...
For debug purposes, is it possible to access the raw response of a Function Calling request before Pydantic's parsing? Thanks!
and I'm able to reproduce the issue. Here's an example: ```python from simpleaichat import AIChat from pydantic import BaseModel, Field from typing import Literal params = { "temperature": 0, "max_tokens":...
```python >>> ai = AIChat(api_key=OPENAI_API_KEY, console=False, params={"temperature": 0, "max_tokens": 100}) >>> ai("Hi") >>> ai("Write me a poem over 4 lines.") >>> ai.get_session().messages [Hi, Hello! How can I assist you today?,...
Hi, Are the datasets available on the Hugging Face Datasets [hub](https://huggingface.co/datasets)? Thanks.