Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wangchao1230 committed Jun 19, 2024
1 parent fa670b5 commit 67be994
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ nodes:
path: hello.py
inputs:
connection: basic_custom_connection
deployment_name: text-davinci-003
deployment_name: gpt-35-turbo-instruct
max_tokens: "120"
prompt: ${hello_prompt.output}
environment:
Expand Down
2 changes: 1 addition & 1 deletion examples/flows/standard/basic/flow.dag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ nodes:
path: hello.py
inputs:
prompt: ${hello_prompt.output}
deployment_name: text-davinci-003
deployment_name: gpt-35-turbo-instruct
max_tokens: "120"
4 changes: 2 additions & 2 deletions examples/tutorials/tracing/custom-otlp-collector/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def my_llm_tool(prompt: str, deployment_name: str) -> str:

if __name__ == "__main__":
result = my_llm_tool(
prompt="Write a simple Hello, world! program that displays the greeting message.",
deployment_name="text-davinci-003",
prompt="Write a simple Hello, world! python program that displays the greeting message. Output code only.",
deployment_name="gpt-4o",
)
print(result)
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"outputs": [],
"source": [
"result = my_llm_tool(\n",
" prompt=\"Write a simple Hello, world! program that displays the greeting message when executed.\",\n",
" prompt=\"Write a simple Hello, world! python program that displays the greeting message. Output code only.\",\n",
" deployment_name=deployment_name,\n",
")\n",
"result\n",
Expand Down
1 change: 1 addition & 0 deletions examples/tutorials/tracing/langchain/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
promptflow
langchain>=0.1.5
langchain_community
opentelemetry-instrumentation-langchain
python-dotenv

0 comments on commit 67be994

Please sign in to comment.