Skip to content

Commit f603dcd

Browse files
chore(docs): remove unnecessary param examples
1 parent 68f70a8 commit f603dcd

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

README.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -149,33 +149,7 @@ client = ContextualAI()
149149

150150
create_agent_output = client.agents.create(
151151
name="xxx",
152-
agent_configs={
153-
"filter_and_rerank_config": {
154-
"rerank_instructions": "rerank_instructions",
155-
"reranker_score_filter_threshold": 0,
156-
"top_k_reranked_chunks": 0,
157-
},
158-
"generate_response_config": {
159-
"avoid_commentary": True,
160-
"calculate_groundedness": True,
161-
"frequency_penalty": 0,
162-
"max_new_tokens": 0,
163-
"seed": 0,
164-
"temperature": 0,
165-
"top_p": 0,
166-
},
167-
"global_config": {
168-
"enable_filter": True,
169-
"enable_multi_turn": True,
170-
"enable_rerank": True,
171-
"should_check_retrieval_need": True,
172-
},
173-
"retrieval_config": {
174-
"lexical_alpha": 0,
175-
"semantic_alpha": 0,
176-
"top_k_retrieved_chunks": 0,
177-
},
178-
},
152+
agent_configs={},
179153
)
180154
print(create_agent_output.agent_configs)
181155
```

0 commit comments

Comments
 (0)