Comments (5)
Tested with nomic-embed-text and Ollama and works as intended.
from gpt-researcher.
Hey @Mayorc1978 where can I find the file or configuration to use it with Ollama?
Hope you have a fantastic day!
from gpt-researcher.
@Mayorc1978 can you please provide the changes you made to make it work with Ollama...thanks!
from gpt-researcher.
# Get Ollama host and embedding model from environment variables
# Set default value for OLLAMA_HOST
ollama_host = os.getenv("OLLAMA_HOST", "http://host.docker.internal:11434")
# Set default value for OLLAMA_EMBEDING_MODEL
ollama_embedding_model = os.getenv("OLLAMA_EMBEDING_MODEL", "nomic-embed-text")
_embeddings = OllamaEmbeddings(model=ollama_embedding_model, base_url=ollama_host)
change embeddings.py works for me
from gpt-researcher.
@zx9597446 that will only change the embedding model, if at all.
from gpt-researcher.
Related Issues (20)
- Grtting error message on model gpt-4o HOT 3
- More flexible similarity distance handling HOT 1
- Support disabling of API response streaming via config HOT 2
- Multiagent Issue
- Changing the model from gpt-4o to gpt-3.5 turbo ? HOT 1
- Different provider for FAST and SMART LLMs HOT 2
- The UI of GPT Researcher! HOT 6
- Chinese character not display HOT 1
- Crashes instead of displaying "Could not find any answers for this topic" when it wasn't able to find any relavant information. HOT 6
- No module named 'gpt_researcher.retrievers.custom' HOT 3
- ImportError: cannot import name 'GPTResearcher' from 'gpt_researcher' (unknown location) HOT 7
- Research topic string needs to be sanitized before using it as filename HOT 5
- Code halts if OpenAI rate limit is reached. openai.RateLimitError: Error code: 429 HOT 3
- How can I adjust each part of the output to have as much text as possible? HOT 1
- Is Anthropic / Claude use broken at the moment? -- NOW WITH FIX IN REPLIES HOT 3
- AttributeError: 'list' object has no attribute 'dict' -- NOW WITH FIX HOT 2
- Uvicorn loads but application stalls at "connection open" HOT 3
- [Feature Request] Integrate Wiseflow for Dynamic Knowledge Management
- References from previous report included in current report? HOT 4
- Support for different Embeddings other than OpenAI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpt-researcher.