Skip to content

Commit

Permalink
Add extra_body field to LLMConfig dataclass for Azure AI Search suppo…
Browse files Browse the repository at this point in the history
…rt (microsoft#2011)

Co-authored-by: Chi Wang <[email protected]>
  • Loading branch information
christianladron and sonichi authored Mar 14, 2024
1 parent 6bcb191 commit efbb2d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/apps/autogen-studio/autogenstudio/datamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class LLMConfig:
cache_seed: Optional[Union[int, None]] = None
timeout: Optional[int] = None
max_tokens: Optional[int] = None
extra_body: Optional[dict] = None

def dict(self):
result = asdict(self)
Expand Down

0 comments on commit efbb2d1

Please sign in to comment.