Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
docs: discussions: Alice Engineering Comms: 2024-03-25T05:22:57+00:00
Browse files Browse the repository at this point in the history
  • Loading branch information
aliceoa-intel authored and pdxjohnny committed Mar 25, 2024
1 parent eb32e1c commit eab118d
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions docs/discussions/alice_engineering_comms/0573/reply_0000.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
- We'll have TCB levels for tool use
## 2024-03-24 @pdxjohnny Engineering Logs

- https://python.langchain.com/docs/use_cases/tool_use/agents
- https://python.langchain.com/docs/use_cases/graph/semantic
- https://python.langchain.com/docs/use_cases/tool_use/parallel
- > Chains are great when we know the specific sequence of tool usage needed for any user input. But for certain use cases, how many times we use tools depends on the input. In these cases, we want to let the model itself decide how many times to use tools and in what order. Agents let us do just this.
>
> LangChain comes with a number of built-in agents that are optimized for different use cases. Read about all the agent types here.
>
>As an example, let’s try out the OpenAI tools agent, which makes use of the new OpenAI tool-calling API (this is only available in the latest OpenAI models, and differs from function-calling in that the model can return multiple function invocations at once).
- https://platform.openai.com/docs/quickstart?context=python
- > First, create an [OpenAI account](https://platform.openai.com/signup) or [sign in](https://platform.openai.com/login). Next, navigate to the [API key page](https://platform.openai.com/account/api-keys) and "Create new secret key", optionally naming the key. Make sure to save this somewhere safe and do not share it with anyone.
```python
import json
Expand Down Expand Up @@ -90,4 +98,7 @@ def main():

if __name__ == "__main__":
main()
```
```

- We'll have TCB levels for tool use
- https://python.langchain.com/docs/use_cases/graph/semantic

0 comments on commit eab118d

Please sign in to comment.