Skip to content

Commit

Permalink
Add embed_instruction to embed docs task call
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Oct 22, 2024
1 parent fbf28c7 commit 66c4361
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agents-api/agents_api/routers/docs/create_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ async def create_user_doc(
doc_id=doc.id,
title=doc.title,
content=doc.content,
embed_instruction=data.embed_instruction,
job_id=embed_job_id,
background_tasks=background_tasks,
)
Expand Down Expand Up @@ -105,6 +106,7 @@ async def create_agent_doc(
doc_id=doc.id,
title=doc.title,
content=doc.content,
embed_instruction=data.embed_instruction,
job_id=embed_job_id,
background_tasks=background_tasks,
)
Expand Down

0 comments on commit 66c4361

Please sign in to comment.