File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -149,33 +149,7 @@ client = ContextualAI()
149
149
150
150
create_agent_output = client.agents.create(
151
151
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 = {},
179
153
)
180
154
print (create_agent_output.agent_configs)
181
155
```
You can’t perform that action at this time.
0 commit comments