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

Update knowledge base #485

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

darrassi1
Copy link
Contributor

i used SentenceTransformer('all-MiniLM-L6-v2')
and faiss for indexing

@darrassi1 darrassi1 marked this pull request as draft April 25, 2024 17:05
i remplaced  add_knowledge(tag=query, contents=results[query])
 with
add_knowledge(query, results[query])

  "tag="  in the argument was causing the probleme
i updated search_queries function to be accurate
i added  session.refresh(knowledge)    to add_khowledge function
@darrassi1 darrassi1 marked this pull request as ready for review April 25, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant