Skip to content

Commit

Permalink
add private data in quick start example (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored May 28, 2024
1 parent ce9a2fa commit f6001b9
Show file tree
Hide file tree
Showing 2 changed files with 444 additions and 98 deletions.
5 changes: 5 additions & 0 deletions dsnotebooks/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ def set_kg_key(cls, v):
return v or input("Knowledge graph key: ")


class CollOptionalNotebookSettings(NotebookSettings):
proj_key: Optional[str] = None
index_key: Optional[str] = None


class CollQANotebookSettings(ProjectNotebookSettings):
sem_on_idx_key: str
retr_k: int = 5
Expand Down
Loading

0 comments on commit f6001b9

Please sign in to comment.