Skip to content

Commit

Permalink
update: pydantic_parser parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
KevKibe committed Jun 11, 2024
1 parent 6f48231 commit ff0415d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ response = pinecone_indexer.retrieve_and_generate(
vector_store = vectorstore,
query = query,
top_k = "number of sources to retrieve", # Default is 3
pydantic_parser=True # Whether to use Pydantic parsing for the generated response (default is True)
rerank_model = "reranking model" # Default is 'flashrank' Other models available Docs:https://github.com/AnswerDotAI/rerankers
)
response
Expand Down

0 comments on commit ff0415d

Please sign in to comment.