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

Add to document groups post ingestion #277

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
minor changes
star-nox committed Jun 7, 2024
commit f0538f5254824cf9d96c1c6caf63213983d3c967
2 changes: 1 addition & 1 deletion ai_ta_backend/beam/ingest_v2.py
Original file line number Diff line number Diff line change
@@ -1111,7 +1111,7 @@ def split_and_upload(self, texts: List[str], metadatas: List[Dict[str, Any]], **
courseDoc = response.data[0]
del courseDoc['contexts']
courseDoc['doc_groups'] = groups
url = "https://www.uiuc.chat/api/documentGroups"
url = "http://www.uiuc.chat/api/documentGroups"
payload = {
"action": "addDocumentsToDocGroup",
"courseName": course_name,