docs add docs on supported params

This commit is contained in:
Ishaan Jaff 2024-09-02 12:39:07 -07:00
parent 03dffb29bf
commit d86abb4abe
2 changed files with 96 additions and 2 deletions

View file

@ -4485,6 +4485,12 @@ async def test_completion_ai21_chat():
user="ishaan",
tool_choice="auto",
seed=123,
messages=[{"role": "user", "content": "hi my name is ishaan"}],
messages=[{"role": "user", "content": "what does the document say"}],
documents=[
{
"content": "hello world",
"metadata": {"source": "google", "author": "ishaan"},
}
],
)
pass