Spaces:
Sleeping
Sleeping
removed uneeded code and shifted import statements to the front
Browse files- mixtral_agent.py +0 -28
mixtral_agent.py
CHANGED
@@ -153,34 +153,6 @@ agent_executor = AgentExecutor(
|
|
153 |
handle_parsing_errors=True #prevents error
|
154 |
)
|
155 |
|
156 |
-
# agent_executor.invoke(
|
157 |
-
# {
|
158 |
-
# "input": "Who is the current holder of the speed skating world record on 500 meters? What is her current age raised to the 0.43 power?"
|
159 |
-
# }
|
160 |
-
# )
|
161 |
-
|
162 |
-
# agent_executor.invoke(
|
163 |
-
# {
|
164 |
-
# "input": "what are large language models and why are they so expensive to run?"
|
165 |
-
# }
|
166 |
-
# )
|
167 |
-
|
168 |
-
# agent_executor.invoke(
|
169 |
-
# {
|
170 |
-
# "input": "How to generate videos from images using state of the art macchine learning models"
|
171 |
-
# }
|
172 |
-
# )
|
173 |
-
|
174 |
-
# class AgentSample:
|
175 |
-
|
176 |
-
|
177 |
-
# def __init__(self, agent_executor_object,*args, **kwargs):
|
178 |
-
# self.agent_executor_object = agent_executor_object
|
179 |
-
# self.meta_data = []
|
180 |
-
|
181 |
-
# def sample_invokex
|
182 |
-
|
183 |
-
|
184 |
|
185 |
|
186 |
if __name__ == "__main__":
|
|
|
153 |
handle_parsing_errors=True #prevents error
|
154 |
)
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
|
158 |
if __name__ == "__main__":
|