Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 076f367

Browse files
Port over fewshots to Pydantic format
1 parent 020434e commit 076f367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/fastapi_app/rag_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ async def prepare_context(self, chat_params: ChatParams) -> tuple[list[ItemPubli
120120
agent = Agent(
121121
model,
122122
model_settings=ModelSettings(temperature=0.0, max_tokens=500, seed=chat_params.seed),
123-
instructions=self.query_prompt_template,
123+
system_prompt=self.query_prompt_template,
124124
tools=[self.search_database],
125125
output_type=SearchResults,
126126
)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /