send_prompt(
self,
app_name: str,
retriever: VectorStoreRetriever,
question: str,
answer| Name | Type | Description |
|---|---|---|
app_name* | str | Name of the app. |
retriever* | VectorStoreRetriever | Retriever instance. |
question* | str | Question asked in the prompt. |
answer* | str | Answer generated by the model. |
auth_context* | Optional[AuthContext] | |
docs* | List[Document] | |
prompt_entities* | Dict[str, Any] | |
prompt_time* | str | |
prompt_gov_enabled | bool | Default: False |
Send prompt to Pebblo server for classification. Then send prompt to Daxa cloud(If api_key is present).
Authentication context.
List of documents retrieved.
Entities present in the prompt.
Time when the prompt was generated.
Whether prompt governance is enabled.