Connor Shorten
Connor Shorten
**Tl;dr** Vectorize a class with the average vectors of a cross-referenced class. **Motivation** Averaging dense vectors from Deep Learning models preserves the semantics of the cluster. We see applications for...
Not sure how to test within LangChain system -- checked this works locally with same code.
## What? Interface metadata filters in dspy.Retrieve classes such as the Weaviate / Mongo / Pinecone / Qdrant / Chroma RMs. ## Why? Symbolic filters can be used to improve...
Hey team, I think it would be good to lower the default `max_labeled_demos` from 16 to 8. I have been playing with answering FAQs with 16 and it quickly results...
Lets you specify which text key to return from a call to `dspy.Retrieve` This does not incur a breaking change thanks to the `Optional` typing and default argument value. This...
Followed the Cohere LM template. It doesn't look like you can sample multiple generations in one call to the API (linked the Google API docs I'm following in the code)....
### What's being changed: WIP -- Figuring out custom image with /.well-known/ready (for startup) and /meta (for meta). Testing also not completely finished. To use, enable environment variables: OLLAMA_INFERENCE_API="http://localhost:11434" (most...
### What's being changed: This script produces datasets for filtered ANN benchmarking by assigning labels with an index modulus and creating ground truths with multi-threaded brute forcing. ### Review checklist...
## What? An LLM that looks at the first search result to determine if it is relevant to the query. If not, no results are presented to the user. ##...
## How it currently works In line 151 of `BootstrapFewShot` we currently check examples with: `success = (self.metric is None) or self.metric(example, prediction, trace)` If success == True, we then...