jiangsier-xyz
jiangsier-xyz
Are there any updates to this issue?
> @langchain4j Is there a configured milvus instance available for CI unit testing? Attempting to connect using MILVUS_URI and MILVUS_API_KEY retrieved from environment variables seems to fail. You can use...
> @jiangsier-xyz thanks a lot! Could you please add a test? Done.
> cc @jiangsier-xyz What if we added an optional method in LanguageModel such as: ```java default Response generateTextSegment(String prompt) { return Response.from(TextSegment.from(generate(prompt).content())); } ``` By overriding this method, models could...
> @jiangsier-xyz if you want to use `TextSegment` only to be able include the metadata, I would propose instead to add something like `Map metadata` into `Response` class, it was...
> @jiangsier-xyz with approaches described above you do not need to change the interface of models and add new `generate` methods. Just add additional `metadata` field to `Response` which is...
@langchain4j please take a look. Then I can continue to promote the implementation of features such as function-call on dashscope.
> @jiangsier-xyz sorry for the late reply. I foresee that the API will be changed in the near future, so `ChatLanguageModel` will not return `Result` any more. We can still...