Agent search
AgentSearchReader #
Bases: BaseReader
AgentSearch reader.
Source code in llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/base.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
load_data #
load_data(query: str, search_provider: str = 'bing', llm_model: str = 'SciPhi/Sensei-7B-V1') -> List[Document]
Load data from AgentSearch, hosted by SciPhi.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
collection_name |
str
|
Name of the Milvus collection. |
required |
query_vector |
List[float]
|
Query vector. |
required |
limit |
int
|
Number of results to return. |
required |
Returns:
Type | Description |
---|---|
List[Document]
|
List[Document]: A list of documents. |
Source code in llama-index-integrations/readers/llama-index-readers-agent-search/llama_index/readers/agent_search/base.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|