wejick / gchain

Composable LLM Application framework inspired by langchain
Apache License 2.0
12 stars 2 forks source link

feat(ElasticSearchVectorStore): Added another es vs that uses regular… #28

Closed MFarrasHakim closed 10 months ago

MFarrasHakim commented 10 months ago

… NewClient instead of TypedClient

When using the es from staging, using typed api caused an error Invalid media-type value on headers [Accept, Content-Type] when sending requests to the es server. So added an option to send requests to es server without using typed api

wejick commented 10 months ago

Please add unit test to dataToESDoc and hitToDocs