Skip to content

jwjacobson/dialogues

Repository files navigation

dialogues - philosophical dialogues between LLM agents

This app will generate Platonic-style dialogues between two LLM agents.

At present it runs locally using ollama. You can plug in any ollama model you wish.

Eventually there will be a web interface!

Prerequisites

  1. Install ollama.
  2. Install uv (Not strictly necessary but the following instructions assume you're using it).

Installation

  1. Clone this repository.
  2. Start ollama in a separate terminal: ollama serve (required for all ollama operations).
  3. Navigate to the 'dialogues' directory.
  4. Copy the contents of the .env-template file to a file named .env. You will need to fill in a value for MODEL; use ollama list to see the names of locally available models.
  5. Run the sample query: uv run logos — you should see a definition of justice!
  • If you get a ModuleNotFoundError, try adding the current directory to your Python path: export PYTHONPATH=$PYTHONPATH:/path/to/dialogues (replace '/path/to/dialogues' with the actual path to the dialogues directory)
  • If it's taking a really long time, you might want to use a smaller model. tinyllama is a good choice; get it with ollama pull tinyllama

License

Dialogues is free software, released under version 3.0 of the GPL. Everyone has the right to use, modify, and distribute dialogues subject to the stipulations of that license.

About

creating dialogues between LLM agents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages