Sivan Zheng

Results 3 comments of Sivan Zheng

js对于170!以下的阶乘,是可以使用递归实现的,对于大于170的数字,阶乘数已超出范围,会显示为Infinity。

In the chain's handlers, I differentiate the source of tokens based on the chain's name to determine which tokens should be sent to the client. Below is an example: ```ts...

> I've just found this: https://github.com/hwchase17/langchainjs/blob/main/examples/src/chains/chat_vector_db_chroma.ts > > However instead of doing > > ``` > const vectorStore = await Chroma.fromDocuments( > docs, > new OpenAIEmbeddings(), > { collectionName: "japan"...