Chroma().similarity_search_with_score(query=t, k=2) with asyncio.create_task() and an error #28251
Answered
by
lishaozheng
lishaozheng
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lishaozheng
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
In FaskAPI, concurrency is handled with asyncio.create_task(). For example, openai has a from openai import AsyncOpenAI, Support await self.openai.chat.com pletions. Create, and then the Chroma vector database, how to use this asyncio similarity_search_with_score. Create_task ()
System Info
langchian-0.2.15
Beta Was this translation helpful? Give feedback.
All reactions