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

Pgvector fixes #660

Merged
merged 10 commits into from
Oct 23, 2024
12 changes: 0 additions & 12 deletions src/vanna/pgvector/pgvector.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,3 @@ def remove_collection(self, collection_name: str) -> bool:

def generate_embedding(self, *args, **kwargs):
pass

def submit_prompt(self, *args, **kwargs):
edlouth marked this conversation as resolved.
Show resolved Hide resolved
pass

def system_message(self, message: str) -> any:
return {"role": "system", "content": message}

def user_message(self, message: str) -> any:
return {"role": "user", "content": message}

def assistant_message(self, message: str) -> any:
return {"role": "assistant", "content": message}