-
Document对象保存的时候,还包括metadata(例如文件来源等信息)。这些信息有助于帮助LLM分析数据的来源,做出更加有效的推理。
在 server/api/models/chat/index.post.ts 第70行,调用了langchain的 formatDocumentsAsString 函数来直接对参考文档进行格式化,该函数实际上会直接忽略掉所有的metadata信息,只采用co…
-
Currently the `OllamaStreamingChatLanguageModel` doesn't support tool integration. Let's add it.
I'll take this and work on it.
-
I am working on this project, and I want to use bedrock as I my chat service of choice, I tested this library with openai chatgpt-4, and it works perfectly.
Here is the code I am testing to connect…
-
There's a couple of methods in `Options.cs` that are likely being called from hotpath - I assume return values will get cached by JIT or something, but it wouldn't harm to just cache the values when o…
-
With the `ChatBedrock` class, the following code works as expected:
```python
from langchain_core.prompts import ChatPromptTemplate
from langchain_aws import ChatBedrock
from langchain_core.outp…
-
Build [#20241008.2](https://dev.azure.com/dnceng/7ea9116e-9fac-403d-b258-b31fcf1bb293/_build/results?buildId=2555451) failed
## :x: : internal / arcade-services-internal-ci failed
### Summary
*…
-
For example, see the following: https://codesandbox.io/p/sandbox/amazing-joji-pm32mh?file=%2Fsrc%2FApp.tsx%3A34%2C7
If you look at the console output, then go output[2].machine.config in the consol…
-
### Checked other resources
- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a sim…
-
At random moment, when using survival and unionlib, an error occurs on the server and any blocks and plants stop being destroyed and right click returns these blocks and plants back
[Server thread/…
r0sso updated
3 years ago
-
### Library name and version
Az Open AI sdk 2.0.0-beta.5
### Describe the bug
When using Az Open AI sdk 2.0.0-beta.5 for connecting with text embedding model using default azure credentials, …