Skip to content

Commit

Permalink
reduce calls to collections
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jan 15, 2025
1 parent 75e2af6 commit e6873ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
16 changes: 2 additions & 14 deletions agixt/Interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,8 @@ def __init__(
ApiClient=self.ApiClient,
user=self.user,
)
self.positive_feedback_memories = Memories(
agent_name=self.agent_name,
agent_config=self.agent.AGENT_CONFIG,
collection_number="2",
ApiClient=self.ApiClient,
user=self.user,
)
self.negative_feedback_memories = Memories(
agent_name=self.agent_name,
agent_config=self.agent.AGENT_CONFIG,
collection_number="3",
ApiClient=self.ApiClient,
user=self.user,
)
self.positive_feedback_memories = self.agent_memory
self.negative_feedback_memories = self.agent_memory
self.outputs = f"{self.uri}/outputs/{self.agent.agent_id}"
else:
self.agent_name = ""
Expand Down
3 changes: 2 additions & 1 deletion docker-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pgvector
pgvector
pyodbc

0 comments on commit e6873ed

Please sign in to comment.