feat (example): Add Ollama Retrieval Example #1051
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
Providing specific information or domain knowledge ensures that the AI gives priority to this when responding.
The main questions we will ask are "What is this?" If there is direct relevance, prioritize answering based on the information we provided. Otherwise, simply respond without referencing our information, and avoid mentioning the provided details unless necessary.
When asking the AI a question, we expect
foo
andf4
to be answered based on the information we provided.When asking about
foodpanda
andpanda
, we expect the AI to respond based on its own knowledge.Testing
This is an example executed on my laptop.
PR Checklist
memory: add interfaces for X, Y
orutil: add whizzbang helpers
).Fixes #123
).golangci-lint
checks.