Skip to content

Based on assafelovic/gpt-researcher - Modified to support local Ollama models

License

Notifications You must be signed in to change notification settings

JosemyDuarte/gpt-researcher-ollama

 
 

Repository files navigation

🔎 GPT Researcher

This is a fork from https://github.com/assafelovic/gpt-researcher with some modifications to make it work with local Ollama models.

How to use

  1. Clone this repository
  2. Install the requirements
  3. Copy the .env.example file to .env and fill in the fields accordingly
    • Make sure to have the Ollama model already downloaded with ollama server running
    • The example is using mixtral:8x7b-instruct-v0.1-q6_K
  4. For embbedings I'm using llama3, so unless you change gpt_researcher/memory/embeddings.py to use something else you will need to run:
    ollama pull llama3
  5. Modify the query variable in the main.py file with the prompt you want to use for your research
  6. Run the main.py file

About

Based on assafelovic/gpt-researcher - Modified to support local Ollama models

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Python 89.0%
  • JavaScript 3.8%
  • HTML 3.5%
  • CSS 3.1%
  • Dockerfile 0.6%