We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I set the RAG application with Ollama (vector db LanceDB) but keep getting this error. What can I do? Here's my code:
const ragApplication = await new RAGApplicationBuilder() .setModel(new Ollama({ modelName: "llama3", baseUrl: 'http://localhost:11434' })) .addLoader({ type: 'YoutubeSearch', youtubeSearchString: 'Tesla cars' }) .addLoader('https://en.wikipedia.org/wiki/Tesla,_Inc.') .addLoader('https://tesla-info.com/sitemap.xml') .setVectorDb(new LanceDb({ path: '.db' })) .build();
The text was updated successfully, but these errors were encountered:
@MB2 By default, open ai embeddings model is used. Try changing the embeddings model as well
.setEmbeddingModel( new OllamaEmbeddings({ baseUrl: "http://localhost:11434", model: "mxbai-embed-large", }) )
this worked for me
Sorry, something went wrong.
Closing issue - this is not a bug.
adhityan
No branches or pull requests
I set the RAG application with Ollama (vector db LanceDB) but keep getting this error. What can I do?
Here's my code:
const ragApplication = await new RAGApplicationBuilder() .setModel(new Ollama({ modelName: "llama3", baseUrl: 'http://localhost:11434' })) .addLoader({ type: 'YoutubeSearch', youtubeSearchString: 'Tesla cars' }) .addLoader('https://en.wikipedia.org/wiki/Tesla,_Inc.') .addLoader('https://tesla-info.com/sitemap.xml') .setVectorDb(new LanceDb({ path: '.db' })) .build();
The text was updated successfully, but these errors were encountered: