Skip to content
New issue

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

Big refactor to make PG modular #25

Merged
merged 169 commits into from
May 27, 2024
Merged

Big refactor to make PG modular #25

merged 169 commits into from
May 27, 2024

Conversation

anubhuti24
Copy link
Contributor

@anubhuti24 anubhuti24 commented Apr 26, 2024

  • instructor through litellm
  • embeddings through litellm
  • use arbitrary LM and embedding model
  • ollama support for instructor
  • Support multiple vector stores
  • Support multiple databases
  • Use local db

closes #22

This was linked to issues Apr 26, 2024
personal_graph/database.py Outdated Show resolved Hide resolved
personal_graph/database.py Outdated Show resolved Hide resolved
personal_graph/database.py Outdated Show resolved Hide resolved
personal_graph/embeddings.py Show resolved Hide resolved
personal_graph/natural.py Outdated Show resolved Hide resolved
personal_graph/natural.py Outdated Show resolved Hide resolved
personal_graph/natural.py Outdated Show resolved Hide resolved
Copy link
Member

@sutyum sutyum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, one recurring issue is that there are lots of objects being created for the embeddings api client and the llm api client, while one only needs one of each.

Both of these should essentially be created based upon whatever the user wants when creating the Graph object.

personal_graph/graph.py Outdated Show resolved Hide resolved
personal_graph/graph.py Show resolved Hide resolved
personal_graph/graph.py Show resolved Hide resolved
personal_graph/graph.py Outdated Show resolved Hide resolved
personal_graph/graph.py Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@sutyum sutyum changed the title Move to LiteLLM Big refactor to make PG modular May 26, 2024
@sutyum sutyum merged commit edead7f into main May 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants